Skip to content

🌿 Fern Regeneration -- August 12, 2025 #254

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cohere-ai",
"version": "7.18.1",
"version": "7.19.0",
"private": false,
"repository": "https://github.com/cohere-ai/cohere-typescript",
"main": "./index.js",
Expand Down
44 changes: 22 additions & 22 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accepts: accepts != null ? accepts : undefined,
Expand Down Expand Up @@ -312,8 +312,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accepts: accepts != null ? accepts : undefined,
Expand Down Expand Up @@ -431,8 +431,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -581,8 +581,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -731,8 +731,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -877,8 +877,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1043,8 +1043,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1179,8 +1179,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1313,8 +1313,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1447,8 +1447,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -1575,8 +1575,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
7 changes: 7 additions & 0 deletions src/api/client/requests/ChatRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ export interface ChatRequest {
* Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
*/
presencePenalty?: number;
/**
* When enabled, the user's prompt will be sent to the model without
* any pre-processing.
*
* Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
*/
rawPrompting?: boolean;
/**
* A list of available tools (functions) that the model may suggest invoking before producing a text response.
*
Expand Down
7 changes: 7 additions & 0 deletions src/api/client/requests/ChatStreamRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ export interface ChatStreamRequest {
* Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
*/
presencePenalty?: number;
/**
* When enabled, the user's prompt will be sent to the model without
* any pre-processing.
*
* Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
*/
rawPrompting?: boolean;
/**
* A list of available tools (functions) that the model may suggest invoking before producing a text response.
*
Expand Down
24 changes: 12 additions & 12 deletions src/api/resources/connectors/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -226,8 +226,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -357,8 +357,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -483,8 +483,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -612,8 +612,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -752,8 +752,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
20 changes: 10 additions & 10 deletions src/api/resources/datasets/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -300,8 +300,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
..._maybeEncodedRequest.headers,
Expand Down Expand Up @@ -426,8 +426,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -552,8 +552,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -678,8 +678,8 @@ export class Datasets {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
16 changes: 8 additions & 8 deletions src/api/resources/embedJobs/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -211,8 +211,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -339,8 +339,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -459,8 +459,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
28 changes: 14 additions & 14 deletions src/api/resources/finetuning/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -216,8 +216,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -331,8 +331,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -442,8 +442,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -563,8 +563,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -697,8 +697,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -825,8 +825,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.18.1",
"User-Agent": "cohere-ai/7.18.1",
"X-Fern-SDK-Version": "7.19.0",
"User-Agent": "cohere-ai/7.19.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
Loading