Skip to content

Latest commit

 

History

History
383 lines (261 loc) · 22.8 KB

File metadata and controls

383 lines (261 loc) · 22.8 KB

Shared Types

from ogx_client.types import (
    HealthInfo,
    InterleavedContent,
    InterleavedContentItem,
    ListProvidersResponse,
    ListRoutesResponse,
    ParamType,
    ProviderInfo,
    RouteInfo,
    SafetyViolation,
    SamplingParams,
    SystemMessage,
    VersionInfo,
)

Responses

Types:

from ogx_client.types import (
    CompactedResponse,
    ResponseInput,
    ResponseMessage,
    ResponseObject,
    ResponseObjectStream,
    ResponseOutput,
    ResponseListResponse,
    ResponseDeleteResponse,
)

Methods:

InputItems

Types:

from ogx_client.types.responses import InputItemListResponse

Methods:

Prompts

Types:

from ogx_client.types import ListPromptsResponse, Prompt, PromptListResponse

Methods:

Versions

Methods:

Conversations

Types:

from ogx_client.types import ConversationObject, ConversationDeleteResponse

Methods:

Items

Types:

from ogx_client.types.conversations import (
    ItemCreateResponse,
    ItemListResponse,
    ItemDeleteResponse,
    ItemGetResponse,
)

Methods:

Inspect

Methods:

Embeddings

Types:

from ogx_client.types import CreateEmbeddingsResponse

Methods:

Chat

Types:

from ogx_client.types import ChatCompletionChunk

Completions

Types:

from ogx_client.types.chat import (
    CompletionCreateResponse,
    CompletionRetrieveResponse,
    CompletionListResponse,
)

Methods:

Completions

Types:

from ogx_client.types import CompletionCreateResponse

Methods:

VectorIo

Types:

from ogx_client.types import QueryChunksResponse

Methods:

VectorStores

Types:

from ogx_client.types import (
    ListVectorStoresResponse,
    VectorStore,
    VectorStoreDeleteResponse,
    VectorStoreSearchResponse,
)

Methods:

Files

Types:

from ogx_client.types.vector_stores import VectorStoreFile, FileDeleteResponse, FileContentResponse

Methods:

FileBatches

Types:

from ogx_client.types.vector_stores import (
    ListVectorStoreFilesInBatchResponse,
    VectorStoreFileBatches,
)

Methods:

Models

Types:

from ogx_client.types import ListModelsResponse, Model, ModelRetrieveResponse

Methods:

OpenAI

Methods:

Providers

Types:

from ogx_client.types import ProviderListResponse

Methods:

Routes

Types:

from ogx_client.types import RouteListResponse

Methods:

Moderations

Types:

from ogx_client.types import CreateResponse

Methods:

Safety

Types:

from ogx_client.types import RunShieldResponse

Methods:

Shields

Types:

from ogx_client.types import ListShieldsResponse, Shield, ShieldListResponse

Methods:

Files

Types:

from ogx_client.types import DeleteFileResponse, File, ListFilesResponse, FileContentResponse

Methods:

Batches

Types:

from ogx_client.types import (
    BatchCreateResponse,
    BatchRetrieveResponse,
    BatchListResponse,
    BatchCancelResponse,
)

Methods:

Alpha

Admin

Methods:

Inference

Types:

from ogx_client.types.alpha import InferenceRerankResponse

Methods: