Types:
from together.types.beta import Deployment, DeploymentLogs, JigListResponseMethods:
client.beta.jig.retrieve(id) -> Deploymentclient.beta.jig.update(id, **params) -> Deploymentclient.beta.jig.list() -> JigListResponseclient.beta.jig.deploy(**params) -> Deploymentclient.beta.jig.destroy(id) -> objectclient.beta.jig.retrieve_logs(id, **params) -> DeploymentLogs
Types:
from together.types.beta.jig import (
QueueRetrieveResponse,
QueueCancelResponse,
QueueMetricsResponse,
QueueSubmitResponse,
)Methods:
client.beta.jig.queue.retrieve(**params) -> QueueRetrieveResponseclient.beta.jig.queue.cancel(**params) -> QueueCancelResponseclient.beta.jig.queue.metrics(**params) -> QueueMetricsResponseclient.beta.jig.queue.submit(**params) -> QueueSubmitResponse
Types:
from together.types.beta.jig import Volume, VolumeListResponseMethods:
client.beta.jig.volumes.create(**params) -> Volumeclient.beta.jig.volumes.retrieve(id) -> Volumeclient.beta.jig.volumes.update(id, **params) -> Volumeclient.beta.jig.volumes.list() -> VolumeListResponseclient.beta.jig.volumes.delete(id) -> object
Types:
from together.types.beta.jig import Secret, SecretListResponseMethods:
client.beta.jig.secrets.create(**params) -> Secretclient.beta.jig.secrets.retrieve(id) -> Secretclient.beta.jig.secrets.update(id, **params) -> Secretclient.beta.jig.secrets.list() -> SecretListResponseclient.beta.jig.secrets.delete(id) -> object
Types:
from together.types.beta import (
Cluster,
ClusterListResponse,
ClusterDeleteResponse,
ClusterListRegionsResponse,
)Methods:
client.beta.clusters.create(**params) -> Clusterclient.beta.clusters.retrieve(cluster_id) -> Clusterclient.beta.clusters.update(cluster_id, **params) -> Clusterclient.beta.clusters.list() -> ClusterListResponseclient.beta.clusters.delete(cluster_id) -> ClusterDeleteResponseclient.beta.clusters.list_regions() -> ClusterListRegionsResponse
Types:
from together.types.beta.clusters import ClusterStorage, StorageListResponse, StorageDeleteResponseMethods:
client.beta.clusters.storage.create(**params) -> ClusterStorageclient.beta.clusters.storage.retrieve(volume_id) -> ClusterStorageclient.beta.clusters.storage.update(**params) -> ClusterStorageclient.beta.clusters.storage.list() -> StorageListResponseclient.beta.clusters.storage.delete(volume_id) -> StorageDeleteResponse
Types:
from together.types.chat import (
ChatCompletion,
ChatCompletionChunk,
ChatCompletionStructuredMessageImageURL,
ChatCompletionStructuredMessageText,
ChatCompletionStructuredMessageVideoURL,
ChatCompletionUsage,
ChatCompletionWarning,
)Methods:
client.chat.completions.create(**params) -> ChatCompletion
Types:
from together.types import Completion, CompletionChunk, LogProbs, ToolChoice, ToolsMethods:
client.completions.create(**params) -> Completion
Types:
from together.types import EmbeddingMethods:
Types:
from together.types import FileList, FilePurpose, FileResponse, FileType, FileDeleteResponseMethods:
client.files.retrieve(id) -> FileResponseclient.files.list() -> FileListclient.files.delete(id) -> FileDeleteResponseclient.files.content(id) -> BinaryAPIResponse
Types:
from together.types import (
FinetuneEvent,
FinetuneEventType,
FinetuneResponse,
FineTuningListResponse,
FineTuningDeleteResponse,
FineTuningCancelResponse,
FineTuningEstimatePriceResponse,
FineTuningListCheckpointsResponse,
FineTuningListEventsResponse,
)Methods:
client.fine_tuning.retrieve(id) -> FinetuneResponseclient.fine_tuning.list() -> FineTuningListResponseclient.fine_tuning.delete(id, **params) -> FineTuningDeleteResponseclient.fine_tuning.cancel(id) -> FineTuningCancelResponseclient.fine_tuning.content(**params) -> BinaryAPIResponseclient.fine_tuning.estimate_price(**params) -> FineTuningEstimatePriceResponseclient.fine_tuning.list_checkpoints(id) -> FineTuningListCheckpointsResponseclient.fine_tuning.list_events(id) -> FineTuningListEventsResponse
Types:
from together.types import ExecuteResponseMethods:
client.code_interpreter.execute(**params) -> ExecuteResponse
Types:
from together.types.code_interpreter import SessionListResponseMethods:
client.code_interpreter.sessions.list() -> SessionListResponse
Types:
from together.types import ImageDataB64, ImageDataURL, ImageFileMethods:
Types:
from together.types import VideoJobMethods:
Types:
from together.types import AudioFile, AudioSpeechStreamChunkMethods:
Types:
from together.types.audio import VoiceListResponseMethods:
client.audio.voices.list() -> VoiceListResponse
Types:
from together.types.audio import TranscriptionCreateResponseMethods:
client.audio.transcriptions.create(**params) -> TranscriptionCreateResponse
Types:
from together.types.audio import TranslationCreateResponseMethods:
client.audio.translations.create(**params) -> TranslationCreateResponse
Types:
from together.types import ModelObject, ModelListResponse, ModelUploadResponseMethods:
client.models.list(**params) -> ModelListResponseclient.models.upload(**params) -> ModelUploadResponse
Types:
from together.types.models import UploadStatusResponseMethods:
client.models.uploads.status(job_id) -> UploadStatusResponse
Types:
from together.types import (
Autoscaling,
DedicatedEndpoint,
EndpointListResponse,
EndpointListAvzonesResponse,
EndpointListHardwareResponse,
)Methods:
client.endpoints.create(**params) -> DedicatedEndpointclient.endpoints.retrieve(endpoint_id) -> DedicatedEndpointclient.endpoints.update(endpoint_id, **params) -> DedicatedEndpointclient.endpoints.list(**params) -> EndpointListResponseclient.endpoints.delete(endpoint_id) -> Noneclient.endpoints.list_avzones() -> EndpointListAvzonesResponseclient.endpoints.list_hardware(**params) -> EndpointListHardwareResponse
Types:
from together.types import RerankCreateResponseMethods:
client.rerank.create(**params) -> RerankCreateResponse
Types:
from together.types import BatchJob, BatchCreateResponse, BatchListResponseMethods:
client.batches.create(**params) -> BatchCreateResponseclient.batches.retrieve(id) -> BatchJobclient.batches.list() -> BatchListResponseclient.batches.cancel(id) -> BatchJob
Types:
from together.types import EvaluationJob, EvalCreateResponse, EvalListResponse, EvalStatusResponseMethods:
client.evals.create(**params) -> EvalCreateResponseclient.evals.retrieve(id) -> EvaluationJobclient.evals.list(**params) -> EvalListResponseclient.evals.status(id) -> EvalStatusResponse