Skip to content

Commit

Permalink
50+ tests for cohere
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez committed Nov 11, 2023
1 parent 4197920 commit bdc7337
Show file tree
Hide file tree
Showing 9 changed files with 931 additions and 338 deletions.
6 changes: 6 additions & 0 deletions playground/models/cohere_example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from swarms.models.cohere_chat import Cohere


cohere = Cohere(model="command-light", cohere_api_key="")

out = cohere("Hello, how are you?")
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ attrs = "*"
ggl = "*"
ratelimit = "*"
beautifulsoup4 = "*"
cohere = "*"
huggingface-hub = "*"
pydantic = "*"
tenacity = "*"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ webdataset
yapf
autopep8
dalle3
cohere
torchvision
rich

Expand Down
335 changes: 0 additions & 335 deletions swarms/models/cohere.py

This file was deleted.

0 comments on commit bdc7337

Please sign in to comment.