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

feat:Update documentation comments and URLs in Cohere library files #42

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ partial void ProcessChatResponseContent(
/// - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments
/// </param>
/// <param name="connectors">
/// Accepts `{"id": "web-search"}`, and/or the `"id"` for a custom [connector](https://docs.cohere.com/docs/connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.<br/>
/// Accepts `{"id": "web-search"}`, and/or the `"id"` for a custom [connector](https://docs.cohere.com/docs/overview-rag-connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.<br/>
/// When specified, the model's reply will be enriched with information found by querying each of the connectors (RAG).<br/>
/// Compatible Deployments: Cohere Platform
/// </param>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ partial void ProcessGenerateResponseContent(
/// </param>
/// <param name="maxTokens">
/// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.<br/>
/// This parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token. See [BPE Tokens](/bpe-tokens-wiki) for more details.<br/>
/// This parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token.<br/>
/// Can only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt.
/// </param>
/// <param name="truncate">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ partial void ProcessDeleteConnectorResponseContent(

/// <summary>
/// Delete a Connector<br/>
/// Delete a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information.
/// Delete a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/overview-rag-connectors) for more information.
/// </summary>
/// <param name="id"></param>
/// <param name="xClientName"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ partial void ProcessGetConnectorResponseContent(

/// <summary>
/// Get a Connector<br/>
/// Retrieve a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information.
/// Retrieve a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/overview-rag-connectors) for more information.
/// </summary>
/// <param name="id"></param>
/// <param name="xClientName"></param>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public sealed partial class ChatRequest
public global::Cohere.ChatRequestPromptTruncation? PromptTruncation { get; set; }

/// <summary>
/// Accepts `{"id": "web-search"}`, and/or the `"id"` for a custom [connector](https://docs.cohere.com/docs/connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.<br/>
/// Accepts `{"id": "web-search"}`, and/or the `"id"` for a custom [connector](https://docs.cohere.com/docs/overview-rag-connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.<br/>
/// When specified, the model's reply will be enriched with information found by querying each of the connectors (RAG).<br/>
/// Compatible Deployments: Cohere Platform
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed partial class GenerateRequest

/// <summary>
/// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.<br/>
/// This parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token. See [BPE Tokens](/bpe-tokens-wiki) for more details.<br/>
/// This parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token.<br/>
/// Can only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")]
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Cohere/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ paths:
type: array
items:
$ref: '#/components/schemas/ChatConnector'
description: "Accepts `{\"id\": \"web-search\"}`, and/or the `\"id\"` for a custom [connector](https://docs.cohere.com/docs/connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.\n\nWhen specified, the model's reply will be enriched with information found by querying each of the connectors (RAG).\n\nCompatible Deployments: Cohere Platform\n"
description: "Accepts `{\"id\": \"web-search\"}`, and/or the `\"id\"` for a custom [connector](https://docs.cohere.com/docs/overview-rag-connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.\n\nWhen specified, the model's reply will be enriched with information found by querying each of the connectors (RAG).\n\nCompatible Deployments: Cohere Platform\n"
x-fern-audiences:
- public
search_queries_only:
Expand Down Expand Up @@ -1269,7 +1269,7 @@ paths:
- public
max_tokens:
type: integer
description: "The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.\n\nThis parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token. See [BPE Tokens](/bpe-tokens-wiki) for more details.\n\nCan only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt.\n"
description: "The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.\n\nThis parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token.\n\nCan only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt.\n"
writeOnly: true
x-fern-audiences:
- public
Expand Down Expand Up @@ -5556,7 +5556,7 @@ paths:
tags:
- /connectors
summary: Get a Connector
description: 'Retrieve a connector by ID. See [''Connectors''](https://docs.cohere.com/docs/connectors) for more information.'
description: 'Retrieve a connector by ID. See [''Connectors''](https://docs.cohere.com/docs/overview-rag-connectors) for more information.'
operationId: get-connector
parameters:
- name: id
Expand Down Expand Up @@ -5704,7 +5704,7 @@ paths:
tags:
- /connectors
summary: Delete a Connector
description: 'Delete a connector by ID. See [''Connectors''](https://docs.cohere.com/docs/connectors) for more information.'
description: 'Delete a connector by ID. See [''Connectors''](https://docs.cohere.com/docs/overview-rag-connectors) for more information.'
operationId: delete-connector
parameters:
- name: id
Expand Down
Loading