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

Add SDK snippets - for each language, deployment option, API version #328

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mrmer1
Copy link
Contributor

@mrmer1 mrmer1 commented Jan 6, 2025

This PR introduces changes to the basic text generation code snippets for various programming languages. The updates primarily involve the addition of new versions of the code, which incorporate the latest features and improvements.

Changes:

  • Go: New code snippets added for Azure, Cohere, and Private versions.
  • Java: New code snippets added for Azure, Cohere, and Private versions.
  • Python: New code snippets added for Azure, Bedrock, Cohere, Private, and Sagemaker versions. The Azure, Bedrock, and Sagemaker versions now use the co.chat method with a model parameter and a list of messages.
  • TypeScript: New code snippets added for Azure, Bedrock, Cohere, and Private versions. The Azure version now uses the cohere.chat method with a model parameter, while the Bedrock version uses the cohere.chat method with a model and message parameter.

Copy link

github-actions bot commented Jan 6, 2025

Copy link

github-actions bot commented Jan 6, 2025

Copy link

github-actions bot commented Jan 8, 2025

Copy link

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