Skip to content

Commit

Permalink
Merge branch 'main' into sem-search
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmer1 authored Oct 29, 2024
2 parents 8adcc9d + e36ffbe commit 986857f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ paths:
summary: Chat
operationId: chat
x-fern-streaming:
stream-description: |
Generates a streamed text response to a user message.

To learn how to use the Chat API and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api).
stream-condition: $request.stream
response:
required:
Expand Down Expand Up @@ -5876,6 +5880,10 @@ paths:
x-fern-streaming:
format: sse
stream-condition: $request.stream
stream-description: |
Generates a text response to a user message. To learn how to use the Chat API and RAG follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).

Follow the [Migration Guide](https://docs.cohere.com/v2/docs/migrating-v1-to-v2) for instructions on moving from API v1 to API v2.
response:
required:
- id
Expand Down Expand Up @@ -5920,7 +5928,7 @@ paths:
citation-end: "#/components/schemas/CitationEndEvent"
message-end: "#/components/schemas/ChatMessageEndEvent"
description: |
Generates a message from the model in response to a provided conversation. To learn more about the features of the Chat API follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).
Generates a text response to a user message and streams it down, token by token. To learn how to use the Chat API with streaming follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).

Follow the [Migration Guide](https://docs.cohere.com/v2/docs/migrating-v1-to-v2) for instructions on moving from API v1 to API v2.
parameters:
Expand Down
4 changes: 2 additions & 2 deletions fern/pages/get-started/frequently-asked-questions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ Check our [free trial documentation](https://docs.cohere.com/docs/rate-limits#tr

<Accordion title="Is it possible for a small startup or any commercial entity to use Cohere's technology for production or commercial purposes, and if so, what licenses or permissions are required?">

Absolutely! Cohere's platform empowers businesses, including startups, to leverage our technology for production and commercial purposes. We understand the unique needs of startups and have developed a startup program to support their growth. You can find more information about this program and how to get involved [here](https://cohere.com/startup-program).
Absolutely! Cohere's platform empowers businesses, including startups, to leverage our technology for production and commercial purposes.

In terms of usage guidelines, we've compiled a comprehensive set of resources to ensure a smooth and compliant experience. You can access these guidelines [here](https://docs.cohere.com/docs/usage-guidelines).

Expand Down Expand Up @@ -522,4 +522,4 @@ If there's anything not covered in this document, you're welcome to reach to us

</Accordion>

</AccordionGroup>
</AccordionGroup>

0 comments on commit 986857f

Please sign in to comment.