Skip to content

Latest commit

 

History

History
346 lines (227 loc) · 17.7 KB

api.md

File metadata and controls

346 lines (227 loc) · 17.7 KB

Shared Types

from llama_stack_client.types import (
    Attachment,
    BatchCompletion,
    CompletionMessage,
    SamplingParams,
    SystemMessage,
    ToolCall,
    ToolResponseMessage,
    UserMessage,
)

Telemetry

Types:

from llama_stack_client.types import TelemetryGetTraceResponse

Methods:

Agents

Types:

from llama_stack_client.types import (
    InferenceStep,
    MemoryRetrievalStep,
    RestAPIExecutionConfig,
    ShieldCallStep,
    ToolExecutionStep,
    ToolParamDefinition,
    AgentCreateResponse,
)

Methods:

Sessions

Types:

from llama_stack_client.types.agents import Session, SessionCreateResponse

Methods:

Steps

Types:

from llama_stack_client.types.agents import AgentsStep

Methods:

Turns

Types:

from llama_stack_client.types.agents import AgentsTurnStreamChunk, Turn, TurnStreamEvent

Methods:

Datasets

Types:

from llama_stack_client.types import TrainEvalDataset

Methods:

Evaluate

Types:

from llama_stack_client.types import EvaluationJob

Jobs

Types:

from llama_stack_client.types.evaluate import (
    EvaluationJobArtifacts,
    EvaluationJobLogStream,
    EvaluationJobStatus,
)

Methods:

Artifacts

Methods:

Logs

Methods:

Status

Methods:

QuestionAnswering

Methods:

Evaluations

Methods:

Inference

Types:

from llama_stack_client.types import (
    ChatCompletionStreamChunk,
    CompletionStreamChunk,
    TokenLogProbs,
    InferenceChatCompletionResponse,
    InferenceCompletionResponse,
)

Methods:

Embeddings

Types:

from llama_stack_client.types.inference import Embeddings

Methods:

Safety

Types:

from llama_stack_client.types import RunSheidResponse

Methods:

Memory

Types:

from llama_stack_client.types import (
    QueryDocuments,
    MemoryCreateResponse,
    MemoryRetrieveResponse,
    MemoryListResponse,
    MemoryDropResponse,
)

Methods:

Documents

Types:

from llama_stack_client.types.memory import DocumentRetrieveResponse

Methods:

PostTraining

Types:

from llama_stack_client.types import PostTrainingJob

Methods:

Jobs

Types:

from llama_stack_client.types.post_training import (
    PostTrainingJobArtifacts,
    PostTrainingJobLogStream,
    PostTrainingJobStatus,
)

Methods:

RewardScoring

Types:

from llama_stack_client.types import RewardScoring, ScoredDialogGenerations

Methods:

SyntheticDataGeneration

Types:

from llama_stack_client.types import SyntheticDataGeneration

Methods:

BatchInference

Types:

from llama_stack_client.types import BatchChatCompletion

Methods:

Models

Types:

from llama_stack_client.types import ModelServingSpec

Methods:

MemoryBanks

Types:

from llama_stack_client.types import MemoryBankSpec

Methods:

Shields

Types:

from llama_stack_client.types import ShieldSpec

Methods: