Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 514 Bytes

endpoint.md

File metadata and controls

17 lines (11 loc) · 514 Bytes

Endpoint

The endpoint to be used for all requests in the batch. Currently /v1/chat/completions, /v1/embeddings, and /v1/completions are supported. Note that /v1/embeddings batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch.

Example Usage

import { Endpoint } from "argot-open-ai/models/operations";

let value: Endpoint = "/v1/embeddings";

Values

"/v1/chat/completions" | "/v1/embeddings" | "/v1/completions"