Skip to content

Latest commit

 

History

History
300 lines (178 loc) · 12.7 KB

api.md

File metadata and controls

300 lines (178 loc) · 12.7 KB

Shared

Types:

Telemetry

Types:

Methods:

  • client.telemetry.getTrace({ ...params }) -> TelemetryGetTraceResponse
  • client.telemetry.log({ ...params }) -> void

Agents

Types:

Methods:

  • client.agents.create({ ...params }) -> AgentCreateResponse
  • client.agents.delete({ ...params }) -> void

Sessions

Types:

Methods:

  • client.agents.sessions.create({ ...params }) -> SessionCreateResponse
  • client.agents.sessions.retrieve({ ...params }) -> Session
  • client.agents.sessions.delete({ ...params }) -> void

Steps

Types:

Methods:

  • client.agents.steps.retrieve({ ...params }) -> AgentsStep

Turns

Types:

Methods:

  • client.agents.turns.create({ ...params }) -> AgentsTurnStreamChunk
  • client.agents.turns.retrieve({ ...params }) -> Turn

Datasets

Types:

Methods:

  • client.datasets.create({ ...params }) -> void
  • client.datasets.delete({ ...params }) -> void
  • client.datasets.get({ ...params }) -> TrainEvalDataset

Evaluate

Types:

Jobs

Types:

Methods:

  • client.evaluate.jobs.list({ ...params }) -> EvaluationJob
  • client.evaluate.jobs.cancel({ ...params }) -> void

Artifacts

Methods:

  • client.evaluate.jobs.artifacts.list({ ...params }) -> EvaluationJobArtifacts

Logs

Methods:

  • client.evaluate.jobs.logs.list({ ...params }) -> EvaluationJobLogStream

Status

Methods:

  • client.evaluate.jobs.status.list({ ...params }) -> EvaluationJobStatus

QuestionAnswering

Methods:

  • client.evaluate.questionAnswering.create({ ...params }) -> EvaluationJob

Summarization

TextGeneration

Evaluations

Methods:

Inference

Types:

Methods:

  • client.inference.chatCompletion({ ...params }) -> InferenceChatCompletionResponse
  • client.inference.completion({ ...params }) -> InferenceCompletionResponse

Embeddings

Types:

Methods:

  • client.inference.embeddings.create({ ...params }) -> Embeddings

Safety

Types:

Methods:

  • client.safety.runShield({ ...params }) -> RunSheidResponse

Memory

Types:

Methods:

  • client.memory.create({ ...params }) -> unknown
  • client.memory.retrieve({ ...params }) -> unknown
  • client.memory.update({ ...params }) -> void
  • client.memory.list({ ...params }) -> unknown
  • client.memory.drop({ ...params }) -> string
  • client.memory.insert({ ...params }) -> void
  • client.memory.query({ ...params }) -> QueryDocuments

Documents

Types:

Methods:

  • client.memory.documents.retrieve({ ...params }) -> DocumentRetrieveResponse
  • client.memory.documents.delete({ ...params }) -> void

PostTraining

Types:

Methods:

Jobs

Types:

Methods:

  • client.postTraining.jobs.list({ ...params }) -> PostTrainingJob
  • client.postTraining.jobs.artifacts({ ...params }) -> PostTrainingJobArtifacts
  • client.postTraining.jobs.cancel({ ...params }) -> void
  • client.postTraining.jobs.logs({ ...params }) -> PostTrainingJobLogStream
  • client.postTraining.jobs.status({ ...params }) -> PostTrainingJobStatus

RewardScoring

Types:

Methods:

  • client.rewardScoring.score({ ...params }) -> RewardScoring

SyntheticDataGeneration

Types:

Methods:

  • client.syntheticDataGeneration.generate({ ...params }) -> SyntheticDataGeneration

BatchInference

Types:

Methods:

  • client.batchInference.chatCompletion({ ...params }) -> BatchChatCompletion
  • client.batchInference.completion({ ...params }) -> BatchCompletion

Models

Types:

Methods:

  • client.models.list({ ...params }) -> ModelServingSpec
  • client.models.get({ ...params }) -> ModelServingSpec | null

MemoryBanks

Types:

Methods:

  • client.memoryBanks.list({ ...params }) -> MemoryBankSpec
  • client.memoryBanks.get({ ...params }) -> MemoryBankSpec | null

Shields

Types:

Methods:

  • client.shields.list({ ...params }) -> ShieldSpec
  • client.shields.get({ ...params }) -> ShieldSpec | null