Skip to content

🌿 Fern Regeneration -- November 27, 2024 #210

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

Closed
wants to merge 2 commits into from
Closed
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.13.1",
"version": "7.15.0",
"private": false,
"repository": "https://github.com/cohere-ai/cohere-typescript",
"main": "./index.js",
Expand Down
1 change: 1 addition & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ await client.v2.chatStream({
},
},
],
strictTools: true,
documents: ["string"],
citationOptions: {
mode: Cohere.CitationOptionsMode.Fast,
Expand Down
44 changes: 22 additions & 22 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accepts: accepts != null ? accepts : undefined,
Expand Down Expand Up @@ -241,8 +241,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accepts: accepts != null ? accepts : undefined,
Expand Down Expand Up @@ -382,8 +382,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -553,8 +553,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -712,8 +712,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -867,8 +867,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -1022,8 +1022,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
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.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -1334,8 +1334,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -1489,8 +1489,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -1637,8 +1637,8 @@ export class CohereClient {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
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 @@ -82,8 +82,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -233,8 +233,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -382,8 +382,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -529,8 +529,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -678,8 +678,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -838,8 +838,8 @@ export class Connectors {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
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 @@ -68,8 +68,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -219,8 +219,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -368,8 +368,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -512,8 +512,8 @@ export class EmbedJobs {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
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 @@ -82,8 +82,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -181,8 +181,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -276,8 +276,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -366,8 +366,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -466,8 +466,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -577,8 +577,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -680,8 +680,8 @@ export class Finetuning {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ export interface FinetuningUpdateFinetunedModelRequest {
updatedAt?: Date;
/** Timestamp for the completed fine-tuning. */
completedAt?: Date;
/** Timestamp for the latest request to this fine-tuned model. */
/** Deprecated: Timestamp for the latest request to this fine-tuned model. */
lastUsed?: Date;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export interface FinetunedModel {
updatedAt?: Date;
/** read-only. Timestamp for the completed fine-tuning. */
completedAt?: Date;
/** read-only. Timestamp for the latest request to this fine-tuned model. */
/** read-only. Deprecated: Timestamp for the latest request to this fine-tuned model. */
lastUsed?: Date;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* - STRATEGY_UNSPECIFIED: Unspecified strategy.
* - STRATEGY_VANILLA: Deprecated: Serve the fine-tuned model on a dedicated GPU.
* - STRATEGY_TFEW: Serve the fine-tuned model on a shared GPU.
* - STRATEGY_TFEW: Deprecated: Serve the fine-tuned model on a shared GPU.
*/
export type Strategy = "STRATEGY_UNSPECIFIED" | "STRATEGY_VANILLA" | "STRATEGY_TFEW";

Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/models/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -234,8 +234,8 @@ export class Models {
: undefined,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "cohere-ai",
"X-Fern-SDK-Version": "7.13.1",
"User-Agent": "cohere-ai/7.13.1",
"X-Fern-SDK-Version": "7.15.0",
"User-Agent": "cohere-ai/7.15.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Loading
Loading