Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cohere integration #2

Merged
merged 7 commits into from
Jan 19, 2023
Merged

Cohere integration #2

merged 7 commits into from
Jan 19, 2023

Conversation

Barqawiz
Copy link
Collaborator

Add support to Cohere API and update the language model structure to become flexible for more model integrations.
Although Openai model is more powerful, adding Cohere proof the concept of having one simple Java library with access to cutting-edge AI models.

add cohere links
Add the response model for Cohere generate API.
- implement CohereAIWrapper.
- update the configurations to support Cohere requirements.
- implement supporting classes like unit testing and response handler.
- Rename old files to become more flexible with multi model vision.
- clean API string.
- Update the model names to be more flexible.
- Update RemoteLanguageModel to support CohereLanguageResponse.
- Implement unit testing cases.
- Update the library version.
Main change in V0.6.0 is the support of Cohere ai generate model and flexible constructor for the remote language model.
@Barqawiz Barqawiz merged commit 7d55282 into main Jan 19, 2023
@Barqawiz Barqawiz deleted the cohere-integration branch January 19, 2023 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant