mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
saving the spec changes
This commit is contained in:
parent
0e4b9efedf
commit
62f2db8f62
1 changed files with 27 additions and 25 deletions
|
@ -8,7 +8,7 @@ paths:
|
||||||
# inference APIs
|
# inference APIs
|
||||||
/inference:
|
/inference:
|
||||||
post:
|
post:
|
||||||
summary: Submit a chat completion request
|
summary: Submit an inference request
|
||||||
description: |
|
description: |
|
||||||
This endpoint allows clients to submit a chat completion request.
|
This endpoint allows clients to submit a chat completion request.
|
||||||
requestBody:
|
requestBody:
|
||||||
|
@ -396,16 +396,17 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/SyntheticDataGenJob'
|
$ref: '#/components/schemas/SyntheticDataGenJob'
|
||||||
# RAG APIs
|
# RAG APIs
|
||||||
/vector_store
|
/vector_store:
|
||||||
/vector_store/create
|
/vector_store/create:
|
||||||
/vector_store/drop
|
/vector_store/drop:
|
||||||
/vector_store/update
|
|
||||||
/vector_store/insert/jobs/submit:
|
/vector_store/insert/jobs/submit:
|
||||||
/vector_store/insert/jobs/status:
|
/vector_store/insert/jobs/status:
|
||||||
/vector_store/insert/jobs/cancel:
|
/vector_store/insert/jobs/cancel:
|
||||||
/vector_store/delete/jobs/submit:
|
/vector_store/delete/jobs/submit:
|
||||||
/vector_store/delete/jobs/status:
|
/vector_store/delete/jobs/status:
|
||||||
/vector_store/delete/jobs/cancel:
|
/vector_store/delete/jobs/cancel:
|
||||||
|
/vector_store/insert: # a index single document
|
||||||
|
/vector_store/retrieve: # a single retrieval query
|
||||||
# Agentic APIs
|
# Agentic APIs
|
||||||
/agents/execute:
|
/agents/execute:
|
||||||
post:
|
post:
|
||||||
|
@ -458,6 +459,16 @@ paths:
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
Attachment:
|
||||||
|
type: object
|
||||||
|
description: Represents a file (text or media).
|
||||||
|
properites:
|
||||||
|
uri:
|
||||||
|
type: string
|
||||||
|
description: The path at which the attachment resides.
|
||||||
|
mime-type:
|
||||||
|
type: string
|
||||||
|
description: The attachment's MIME type.
|
||||||
ModelInputMessage:
|
ModelInputMessage:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -474,16 +485,6 @@ components:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: "Additional metadata as JSON."
|
description: "Additional metadata as JSON."
|
||||||
Attachment:
|
|
||||||
type: object
|
|
||||||
description: Represents a file (text or media).
|
|
||||||
properites:
|
|
||||||
uri:
|
|
||||||
type: string
|
|
||||||
description: The path at which the attachment resides.
|
|
||||||
mime-type:
|
|
||||||
type: string
|
|
||||||
description: The attachment's MIME type.
|
|
||||||
ModelOutputMessage:
|
ModelOutputMessage:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -832,15 +833,6 @@ components:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: Additional metadata about the job
|
description: Additional metadata about the job
|
||||||
ToolChainDeploymentConfig:
|
|
||||||
type: object
|
|
||||||
description: Holds deployment configuration for different parts of the toolchain
|
|
||||||
properties:
|
|
||||||
inferenceProvider:
|
|
||||||
type: string
|
|
||||||
description: The URI for the inference provider
|
|
||||||
batchInferenceProvider:
|
|
||||||
metricLoggerProvider: WandB
|
|
||||||
Agent:
|
Agent:
|
||||||
type: object
|
type: object
|
||||||
description: Represents an AI agent with specific tools and a model configuration.
|
description: Represents an AI agent with specific tools and a model configuration.
|
||||||
|
@ -894,7 +886,6 @@ components:
|
||||||
type: object
|
type: object
|
||||||
returnValue:
|
returnValue:
|
||||||
type: object
|
type: object
|
||||||
|
|
||||||
ToolParameter:
|
ToolParameter:
|
||||||
type: object
|
type: object
|
||||||
description: Defines a parameter that a tool requires to operate.
|
description: Defines a parameter that a tool requires to operate.
|
||||||
|
@ -1004,6 +995,8 @@ components:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
description: The unique identifier of the delete job
|
description: The unique identifier of the delete job
|
||||||
|
|
||||||
|
# deployment configs
|
||||||
AgenticSystemDeploymentConfig:
|
AgenticSystemDeploymentConfig:
|
||||||
type: object
|
type: object
|
||||||
description: Holds global deployment configuration needed to make different API calls across the stack.
|
description: Holds global deployment configuration needed to make different API calls across the stack.
|
||||||
|
@ -1014,3 +1007,12 @@ components:
|
||||||
wolframAlphaKey:
|
wolframAlphaKey:
|
||||||
type: string
|
type: string
|
||||||
description: The API key to use for agent-invoked Wolfram search.
|
description: The API key to use for agent-invoked Wolfram search.
|
||||||
|
ToolChainDeploymentConfig:
|
||||||
|
type: object
|
||||||
|
description: Holds deployment configuration for different parts of the toolchain
|
||||||
|
properties:
|
||||||
|
inferenceProvider:
|
||||||
|
type: string
|
||||||
|
description: The URI for the inference provider
|
||||||
|
batchInferenceProvider:
|
||||||
|
metricLoggerProvider: WandB
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue