Skip to content

Commit

Permalink
Merge pull request #264 from Xiangxu1/test_pr
Browse files Browse the repository at this point in the history
update the root poetry lock file and add in the update the version
  • Loading branch information
Sylph-AI authored Nov 18, 2024
2 parents 7c65a7f + 71dc7bf commit f82e6f1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
15 changes: 14 additions & 1 deletion adalflow/PACKAGING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Poetry Packaging Guide
# Poetry Packaging Guide
## Development

To install optional dependencies, use the following command:
Expand Down Expand Up @@ -27,3 +27,16 @@ Better to use a colab to update the whl file and test the installation.
```bash
pip install "dist/adalflow-0.1.0b1-py3-none-any.whl[openai,groq,faiss]"
```


## Update the version

1. Update the version in `pyproject.toml`
2. Add the version number in `adalflow/__init__.py`
3. Build the package
4. Test the package locally
5. Push the changes to the repository
6. Ensure to run `poetry lock --no-update` in the root directory (project-level) to update the lock file for other directories such as `tutorials`, `use_cases`, `benchmarks`, etc.
7. Update the `CHANGELOG.md` file with the new version number and the changes made in the new version.

## TODO: we need to automate the version update process. Help is appreciated.
9 changes: 5 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions use_cases/unsorted/simple_qa_memory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""
We just need to very basic generator that can be used to generate text from a prompt.
"""
# TODO: We need an example to demonstrate how to use the memory component in the genertor.


# from adalflow.core.component import Component
# from adalflow.core.memory import Memory
Expand Down

0 comments on commit f82e6f1

Please sign in to comment.