together-ai
Advanced tools
Comparing version 0.7.0 to 0.8.0
# Changelog | ||
## 0.8.0 (2024-10-30) | ||
Full Changelog: [v0.7.0...v0.8.0](https://github.com/togethercomputer/together-typescript/compare/v0.7.0...v0.8.0) | ||
### Features | ||
* **api:** api update ([#76](https://github.com/togethercomputer/together-typescript/issues/76)) ([26b7743](https://github.com/togethercomputer/together-typescript/commit/26b7743e989cc1239740ac99d03e2ec157da9905)) | ||
* **api:** api update ([#79](https://github.com/togethercomputer/together-typescript/issues/79)) ([eb34c86](https://github.com/togethercomputer/together-typescript/commit/eb34c86204618eb7f7bf8f4aed16af97a221dae2)) | ||
### Documentation | ||
* **api:** Add back in required readme field ([#78](https://github.com/togethercomputer/together-typescript/issues/78)) ([74b457f](https://github.com/togethercomputer/together-typescript/commit/74b457f6a98046feb0805f3c8471c800fc6fc7b0)) | ||
## 0.7.0 (2024-10-23) | ||
@@ -4,0 +18,0 @@ |
{ | ||
"name": "together-ai", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "The official TypeScript library for the Together API", | ||
@@ -13,3 +13,3 @@ "author": "Together <dev-feedback@TogetherAI.com>", | ||
"files": [ | ||
"*" | ||
"**/*" | ||
], | ||
@@ -16,0 +16,0 @@ "private": false, |
@@ -160,2 +160,4 @@ import { APIResource } from "../../resource.js"; | ||
* The name of the model to query. | ||
* | ||
* [See all of Together AI's chat models](https://docs.together.ai/docs/serverless-models#chat-models) | ||
*/ | ||
@@ -162,0 +164,0 @@ model: 'Qwen/Qwen2.5-72B-Instruct-Turbo' | 'Qwen/Qwen2.5-7B-Instruct-Turbo' | 'meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo' | 'meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo' | 'meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo' | (string & {}); |
@@ -80,4 +80,6 @@ import { APIResource } from "../resource.js"; | ||
* The name of the model to query. | ||
* | ||
* [See all of Together AI's chat models](https://docs.together.ai/docs/serverless-models#chat-models) | ||
*/ | ||
model: string; | ||
model: 'meta-llama/Llama-2-70b-hf' | 'mistralai/Mistral-7B-v0.1' | 'mistralai/Mixtral-8x7B-v0.1' | 'Meta-Llama/Llama-Guard-7b' | (string & {}); | ||
/** | ||
@@ -133,3 +135,3 @@ * A string providing context for the model to complete. | ||
*/ | ||
safety_model?: string; | ||
safety_model?: 'Meta-Llama/Llama-Guard-7b' | (string & {}); | ||
/** | ||
@@ -136,0 +138,0 @@ * Seed value for reproducibility. |
@@ -29,4 +29,6 @@ import { APIResource } from "../resource.js"; | ||
* The name of the embedding model to use. | ||
* | ||
* [See all of Together AI's embedding models](https://docs.together.ai/docs/serverless-models#embedding-models) | ||
*/ | ||
model: string; | ||
model: 'WhereIsAI/UAE-Large-V1' | 'BAAI/bge-large-en-v1.5' | 'BAAI/bge-base-en-v1.5' | 'togethercomputer/m2-bert-80M-8k-retrieval' | (string & {}); | ||
} | ||
@@ -33,0 +35,0 @@ export declare namespace Embeddings { |
@@ -180,4 +180,10 @@ import { APIResource } from "../resource.js"; | ||
/** | ||
* Specifies step number for checkpoint to download. | ||
* Specifies checkpoint type to download - `merged` vs `adapter`. This field is | ||
* required if the checkpoint_step is not set. | ||
*/ | ||
checkpoint?: 'merged' | 'adapter'; | ||
/** | ||
* Specifies step number for checkpoint to download. Ignores `checkpoint` value if | ||
* set. | ||
*/ | ||
checkpoint_step?: number; | ||
@@ -184,0 +190,0 @@ /** |
@@ -25,4 +25,6 @@ import { APIResource } from "../resource.js"; | ||
* The model to use for image generation. | ||
* | ||
* [See all of Together AI's image models](https://docs.together.ai/docs/serverless-models#image-models) | ||
*/ | ||
model: string; | ||
model: 'black-forest-labs/FLUX.1-schnell-Free' | 'black-forest-labs/FLUX.1-schnell' | 'black-forest-labs/FLUX.1.1-pro' | (string & {}); | ||
/** | ||
@@ -29,0 +31,0 @@ * A description of the desired images. Maximum length varies by model. |
@@ -38,4 +38,6 @@ import * as TopLevelAPI from "./top-level.js"; | ||
* The model to be used for the rerank request. | ||
* | ||
* [See all of Together AI's rerank models](https://docs.together.ai/docs/serverless-models#rerank-models) | ||
*/ | ||
model: string; | ||
model: 'Salesforce/Llama-Rank-v1' | (string & {}); | ||
/** | ||
@@ -42,0 +44,0 @@ * The search query to be used for ranking. |
@@ -253,2 +253,4 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* The name of the model to query. | ||
* | ||
* [See all of Together AI's chat models](https://docs.together.ai/docs/serverless-models#chat-models) | ||
*/ | ||
@@ -255,0 +257,0 @@ model: |
@@ -126,4 +126,11 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* The name of the model to query. | ||
* | ||
* [See all of Together AI's chat models](https://docs.together.ai/docs/serverless-models#chat-models) | ||
*/ | ||
model: string; | ||
model: | ||
| 'meta-llama/Llama-2-70b-hf' | ||
| 'mistralai/Mistral-7B-v0.1' | ||
| 'mistralai/Mixtral-8x7B-v0.1' | ||
| 'Meta-Llama/Llama-Guard-7b' | ||
| (string & {}); | ||
@@ -190,3 +197,3 @@ /** | ||
*/ | ||
safety_model?: string; | ||
safety_model?: 'Meta-Llama/Llama-Guard-7b' | (string & {}); | ||
@@ -193,0 +200,0 @@ /** |
@@ -42,4 +42,11 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* The name of the embedding model to use. | ||
* | ||
* [See all of Together AI's embedding models](https://docs.together.ai/docs/serverless-models#embedding-models) | ||
*/ | ||
model: string; | ||
model: | ||
| 'WhereIsAI/UAE-Large-V1' | ||
| 'BAAI/bge-large-en-v1.5' | ||
| 'BAAI/bge-base-en-v1.5' | ||
| 'togethercomputer/m2-bert-80M-8k-retrieval' | ||
| (string & {}); | ||
} | ||
@@ -46,0 +53,0 @@ |
@@ -346,4 +346,11 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* Specifies step number for checkpoint to download. | ||
* Specifies checkpoint type to download - `merged` vs `adapter`. This field is | ||
* required if the checkpoint_step is not set. | ||
*/ | ||
checkpoint?: 'merged' | 'adapter'; | ||
/** | ||
* Specifies step number for checkpoint to download. Ignores `checkpoint` value if | ||
* set. | ||
*/ | ||
checkpoint_step?: number; | ||
@@ -350,0 +357,0 @@ |
@@ -37,4 +37,10 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* The model to use for image generation. | ||
* | ||
* [See all of Together AI's image models](https://docs.together.ai/docs/serverless-models#image-models) | ||
*/ | ||
model: string; | ||
model: | ||
| 'black-forest-labs/FLUX.1-schnell-Free' | ||
| 'black-forest-labs/FLUX.1-schnell' | ||
| 'black-forest-labs/FLUX.1.1-pro' | ||
| (string & {}); | ||
@@ -41,0 +47,0 @@ /** |
@@ -51,4 +51,6 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* The model to be used for the rerank request. | ||
* | ||
* [See all of Together AI's rerank models](https://docs.together.ai/docs/serverless-models#rerank-models) | ||
*/ | ||
model: string; | ||
model: 'Salesforce/Llama-Rank-v1' | (string & {}); | ||
@@ -55,0 +57,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '0.7.0'; // x-release-please-version | ||
export const VERSION = '0.8.0'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.7.0"; | ||
export declare const VERSION = "0.8.0"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '0.7.0'; // x-release-please-version | ||
exports.VERSION = '0.8.0'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
887543
14259