-
Notifications
You must be signed in to change notification settings - Fork 20
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
Tool use refresh #378
Tool use refresh #378
Conversation
🌿 Preview your docs: https://cohere-preview-bef25968-495f-4170-a037-dbb82e22614f.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-71357c12-3cb2-43f5-827d-8efca6720b71.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-3b4cedc1-dcb9-4736-9ace-c65c343a3df0.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-7573e39f-da23-4b18-b701-2f95f28226a5.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-7bdfbc16-ecc4-458b-b7f3-d50fe135728f.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-c5f43397-3f9f-4697-a74e-7509c6012fc8.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-419764de-66a3-491c-81db-b6a480f498a8.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-f41a7097-f119-4309-bf5f-eabbf425c51d.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-d08f7e62-afe2-48a1-a795-23eb37fd0eef.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🚀
🌿 Preview your docs: https://cohere-preview-62988476-4be6-41ac-8f89-3750b20583bb.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
This PR introduces a new section on tool use, which is a technique that allows developers to connect Cohere's Command R family of models to external tools. The section covers basic usage, tool definition, parameter types, streaming, structured outputs, and citations.
get_weather
function that returns the temperature for a given location. Tool schema definition is also explained, including the required fields and their purpose. The PR emphasizes the importance of clear and descriptive tool schemas to help the LLM make the right tool call decisions.