Skip to content

Commit

Permalink
Merge pull request #28 from aurelio-labs/luca/change-python-version
Browse files Browse the repository at this point in the history
Change python version + fix on cohere encoder
  • Loading branch information
simjak committed Dec 14, 2023
2 parents 0082dd0 + af9cccf commit d9a3f34
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 6 deletions.
53 changes: 50 additions & 3 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authors = [
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
pydantic = "^1.8.2"
openai = "^1.3.9"
cohere = "^4.32"
Expand Down
2 changes: 1 addition & 1 deletion semantic_router/encoders/cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class CohereEncoder(BaseEncoder):
client: cohere.Client | None
client: cohere.Client | None = None

def __init__(
self,
Expand Down
2 changes: 1 addition & 1 deletion walkthrough.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -qU semantic-router==0.0.6"
"!pip install -qU semantic-router==0.0.8"
]
},
{
Expand Down

0 comments on commit d9a3f34

Please sign in to comment.