saving the spec changes

This commit is contained in:
raghotham 2024-07-11 05:02:16 -04:00 committed by GitHub
parent 0e4b9efedf
commit 62f2db8f62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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