Skip to content
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.26.0"
".": "0.27.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 41
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-bf2f8f13aa9e13553634ad6efce85e7fa77302f9ddcf20f7b91f6ca1c85667ca.yml
openapi_spec_hash: 2306f08b88e1f59c5750f4573f003fdc
config_hash: cf71a25b7e10f3a39a183524fa0ba05c
config_hash: 73457be4d72f0bf4c22de49f2b2d4ec3
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.27.0 (2025-10-21)

Full Changelog: [v0.26.0...v0.27.0](https://github.com/togethercomputer/together-typescript/compare/v0.26.0...v0.27.0)

### Features

* **api:** Rename evaluation sdks to evals ([4c3b732](https://github.com/togethercomputer/together-typescript/commit/4c3b732d55c852ba6b45cbed189dc729e660d6e2))

## 0.26.0 (2025-10-21)

Full Changelog: [v0.25.0...v0.26.0](https://github.com/togethercomputer/together-typescript/compare/v0.25.0...v0.26.0)
Expand Down
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This affects the following methods:

- `client.endpoints.list()`
- `client.hardware.list()`
- `client.evaluations.list()`
- `client.evals.list()`

### Removed `httpAgent` in favor of `fetchOptions`

Expand Down
30 changes: 11 additions & 19 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,28 +248,20 @@ Methods:
- <code title="get /batches/{id}">client.batches.<a href="./src/resources/batches.ts">retrieve</a>(id) -> BatchRetrieveResponse</code>
- <code title="get /batches">client.batches.<a href="./src/resources/batches.ts">list</a>() -> BatchListResponse</code>

# Evaluation
# Evals

Types:

- <code><a href="./src/resources/evaluation.ts">EvaluationJudgeModelConfig</a></code>
- <code><a href="./src/resources/evaluation.ts">EvaluationModelRequest</a></code>
- <code><a href="./src/resources/evaluation.ts">EvaluationRetrieveResponse</a></code>
- <code><a href="./src/resources/evaluation.ts">EvaluationGetStatusResponse</a></code>
- <code><a href="./src/resources/evals.ts">EvaluationJudgeModelConfig</a></code>
- <code><a href="./src/resources/evals.ts">EvaluationModelRequest</a></code>
- <code><a href="./src/resources/evals.ts">EvalRetrieveResponse</a></code>
- <code><a href="./src/resources/evals.ts">EvalListResponse</a></code>
- <code><a href="./src/resources/evals.ts">EvalGetAllowedModelsResponse</a></code>
- <code><a href="./src/resources/evals.ts">EvalGetStatusResponse</a></code>

Methods:

- <code title="get /evaluation/{id}">client.evaluation.<a href="./src/resources/evaluation.ts">retrieve</a>(id) -> EvaluationRetrieveResponse</code>
- <code title="get /evaluation/{id}/status">client.evaluation.<a href="./src/resources/evaluation.ts">getStatus</a>(id) -> EvaluationGetStatusResponse</code>

# Evaluations

Types:

- <code><a href="./src/resources/evaluations.ts">EvaluationListResponse</a></code>
- <code><a href="./src/resources/evaluations.ts">EvaluationGetAllowedModelsResponse</a></code>

Methods:

- <code title="get /evaluations">client.evaluations.<a href="./src/resources/evaluations.ts">list</a>({ ...params }) -> EvaluationListResponse</code>
- <code title="get /evaluations/model-list">client.evaluations.<a href="./src/resources/evaluations.ts">getAllowedModels</a>() -> EvaluationGetAllowedModelsResponse</code>
- <code title="get /evaluation/{id}">client.evals.<a href="./src/resources/evals.ts">retrieve</a>(id) -> EvalRetrieveResponse</code>
- <code title="get /evaluations">client.evals.<a href="./src/resources/evals.ts">list</a>({ ...params }) -> EvalListResponse</code>
- <code title="get /evaluations/model-list">client.evals.<a href="./src/resources/evals.ts">getAllowedModels</a>() -> EvalGetAllowedModelsResponse</code>
- <code title="get /evaluation/{id}/status">client.evals.<a href="./src/resources/evals.ts">getStatus</a>(id) -> EvalGetStatusResponse</code>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "together-ai",
"version": "0.26.0",
"version": "0.27.0",
"description": "The official TypeScript library for the Together API",
"author": "Together <dev-feedback@TogetherAI.com>",
"types": "dist/index.d.ts",
Expand Down
39 changes: 15 additions & 24 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,15 @@ import {
Endpoints,
} from './resources/endpoints';
import {
Evaluation,
EvaluationGetStatusResponse,
EvalGetAllowedModelsResponse,
EvalGetStatusResponse,
EvalListParams,
EvalListResponse,
EvalRetrieveResponse,
Evals,
EvaluationJudgeModelConfig,
EvaluationModelRequest,
EvaluationRetrieveResponse,
} from './resources/evaluation';
import {
EvaluationGetAllowedModelsResponse,
EvaluationListParams,
EvaluationListResponse,
Evaluations,
} from './resources/evaluations';
} from './resources/evals';
import {
FileDeleteResponse,
FileListResponse,
Expand Down Expand Up @@ -843,8 +840,7 @@ export class Together {
endpoints: API.Endpoints = new API.Endpoints(this);
hardware: API.Hardware = new API.Hardware(this);
batches: API.Batches = new API.Batches(this);
evaluation: API.Evaluation = new API.Evaluation(this);
evaluations: API.Evaluations = new API.Evaluations(this);
evals: API.Evals = new API.Evals(this);
}

Together.Chat = Chat;
Expand All @@ -861,8 +857,7 @@ Together.Jobs = Jobs;
Together.Endpoints = Endpoints;
Together.Hardware = Hardware;
Together.Batches = Batches;
Together.Evaluation = Evaluation;
Together.Evaluations = Evaluations;
Together.Evals = Evals;

export declare namespace Together {
export type RequestOptions = Opts.RequestOptions;
Expand Down Expand Up @@ -992,17 +987,13 @@ export declare namespace Together {
};

export {
Evaluation as Evaluation,
Evals as Evals,
type EvaluationJudgeModelConfig as EvaluationJudgeModelConfig,
type EvaluationModelRequest as EvaluationModelRequest,
type EvaluationRetrieveResponse as EvaluationRetrieveResponse,
type EvaluationGetStatusResponse as EvaluationGetStatusResponse,
};

export {
Evaluations as Evaluations,
type EvaluationListResponse as EvaluationListResponse,
type EvaluationGetAllowedModelsResponse as EvaluationGetAllowedModelsResponse,
type EvaluationListParams as EvaluationListParams,
type EvalRetrieveResponse as EvalRetrieveResponse,
type EvalListResponse as EvalListResponse,
type EvalGetAllowedModelsResponse as EvalGetAllowedModelsResponse,
type EvalGetStatusResponse as EvalGetStatusResponse,
type EvalListParams as EvalListParams,
};
}
Loading