Skip to content

Latest commit

 

History

History
388 lines (261 loc) · 21.2 KB

File metadata and controls

388 lines (261 loc) · 21.2 KB

Beta

Jig

Types:

from together.types.beta import Deployment, DeploymentLogs, JigListResponse

Methods:

Queue

Types:

from together.types.beta.jig import (
    QueueRetrieveResponse,
    QueueCancelResponse,
    QueueMetricsResponse,
    QueueSubmitResponse,
)

Methods:

Volumes

Types:

from together.types.beta.jig import Volume, VolumeListResponse

Methods:

Secrets

Types:

from together.types.beta.jig import Secret, SecretListResponse

Methods:

Clusters

Types:

from together.types.beta import (
    Cluster,
    ClusterListResponse,
    ClusterDeleteResponse,
    ClusterListRegionsResponse,
)

Methods:

Storage

Types:

from together.types.beta.clusters import ClusterStorage, StorageListResponse, StorageDeleteResponse

Methods:

Chat

Completions

Types:

from together.types.chat import (
    ChatCompletion,
    ChatCompletionChunk,
    ChatCompletionStructuredMessageImageURL,
    ChatCompletionStructuredMessageText,
    ChatCompletionStructuredMessageVideoURL,
    ChatCompletionUsage,
    ChatCompletionWarning,
)

Methods:

Completions

Types:

from together.types import Completion, CompletionChunk, LogProbs, ToolChoice, Tools

Methods:

Embeddings

Types:

from together.types import Embedding

Methods:

Files

Types:

from together.types import FileList, FilePurpose, FileResponse, FileType, FileDeleteResponse

Methods:

FineTuning

Types:

from together.types import (
    FinetuneEvent,
    FinetuneEventType,
    FinetuneResponse,
    FineTuningListResponse,
    FineTuningDeleteResponse,
    FineTuningCancelResponse,
    FineTuningEstimatePriceResponse,
    FineTuningListCheckpointsResponse,
    FineTuningListEventsResponse,
)

Methods:

CodeInterpreter

Types:

from together.types import ExecuteResponse

Methods:

Sessions

Types:

from together.types.code_interpreter import SessionListResponse

Methods:

Images

Types:

from together.types import ImageDataB64, ImageDataURL, ImageFile

Methods:

Videos

Types:

from together.types import VideoJob

Methods:

Audio

Types:

from together.types import AudioFile, AudioSpeechStreamChunk

Speech

Methods:

Voices

Types:

from together.types.audio import VoiceListResponse

Methods:

Transcriptions

Types:

from together.types.audio import TranscriptionCreateResponse

Methods:

Translations

Types:

from together.types.audio import TranslationCreateResponse

Methods:

Models

Types:

from together.types import ModelObject, ModelListResponse, ModelUploadResponse

Methods:

Uploads

Types:

from together.types.models import UploadStatusResponse

Methods:

Endpoints

Types:

from together.types import (
    Autoscaling,
    DedicatedEndpoint,
    EndpointListResponse,
    EndpointListAvzonesResponse,
    EndpointListHardwareResponse,
)

Methods:

Rerank

Types:

from together.types import RerankCreateResponse

Methods:

Batches

Types:

from together.types import BatchJob, BatchCreateResponse, BatchListResponse

Methods:

Evals

Types:

from together.types import EvaluationJob, EvalCreateResponse, EvalListResponse, EvalStatusResponse

Methods: