Skip to content

Commit

Permalink
chore: Update code comments and example responses in README.md and se…
Browse files Browse the repository at this point in the history
…tup.py
  • Loading branch information
dtedesco1 committed Jul 20, 2024
1 parent 9b49765 commit 6f3fc99
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ result = provider.completion(
)

print(result)
# Example response: "Yes, a rose's fragrance can't be beat."
```

For function calls:
Expand Down Expand Up @@ -61,6 +62,26 @@ result = provider.function_call(
)

print(result)
# Example reponse:
# {
# "array": [
# {
# "event": "Kingdom of Aksum",
# "year": 100,
# "reasoning": "One of the most powerful early medieval empires in East Africa, yet not widely known or studied in history classes."
# },
# {
# "event": "Mali Empire",
# "year": 1235,
# "reasoning": "A prosperous West African empire centered in Mali that controlled trade routes across the Sahara. Advanced cities and universities but its achievements are not always emphasized."
# },
# {
# "event": "Great Zimbabwe",
# "year": 1450,
# "reasoning": "Sophisticated city and trade center indicating a highly organized society, but origins are still debated and its influence on the region could be discussed more."
# }
# ]
# }
```

## Supported Python Versions
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

setup(
name="llm-nexus", # This is the PyPI distribution name
version="0.1.1",
version="0.1.2",
author="Daniel Tedesco",
author_email="dtedesco1@gmail.com",
description="A unified interface for multiple LLM providers",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dtedesoc1/llm_nexus",
url="https://github.com/dtedesco1/llm_nexus",
package_dir={"": "src"},
packages=find_packages(where="src"),
classifiers=[
Expand Down

0 comments on commit 6f3fc99

Please sign in to comment.