mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
chore: Rename RagTool FileSearchTool
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
4566eebe05
commit
2d9163529a
288 changed files with 16985 additions and 2071 deletions
|
|
@ -80,8 +80,8 @@ providers:
|
|||
config:
|
||||
api_key: ${env.TAVILY_SEARCH_API_KEY:+}
|
||||
max_results: 3
|
||||
- provider_id: rag-runtime
|
||||
provider_type: inline::rag-runtime
|
||||
- provider_id: file_search-runtime
|
||||
provider_type: inline::file_search-runtime
|
||||
config: {}
|
||||
- provider_id: model-context-protocol
|
||||
provider_type: remote::model-context-protocol
|
||||
|
|
@ -134,8 +134,8 @@ registered_resources:
|
|||
tool_groups:
|
||||
- toolgroup_id: builtin::websearch
|
||||
provider_id: tavily-search
|
||||
- toolgroup_id: builtin::rag
|
||||
provider_id: rag-runtime
|
||||
- toolgroup_id: builtin::file_search
|
||||
provider_id: file_search-runtime
|
||||
server:
|
||||
port: 8323
|
||||
telemetry:
|
||||
|
|
|
|||
|
|
@ -121,9 +121,9 @@ resources:
|
|||
tool_response_message: ToolResponseMessage
|
||||
system_message: SystemMessage
|
||||
tool_call: ToolCall
|
||||
query_result: RAGQueryResult
|
||||
query_result: FileSearchResult
|
||||
document: RAGDocument
|
||||
query_config: RAGQueryConfig
|
||||
query_config: FileSearchConfig
|
||||
response_format: ResponseFormat
|
||||
toolgroups:
|
||||
models:
|
||||
|
|
@ -153,8 +153,8 @@ resources:
|
|||
subresources:
|
||||
rag_tool:
|
||||
methods:
|
||||
insert: post /v1/tool-runtime/rag-tool/insert
|
||||
query: post /v1/tool-runtime/rag-tool/query
|
||||
insert: post /v1/tool-runtime/file_search-tool/insert
|
||||
query: post /v1/tool-runtime/file_search-tool/query
|
||||
|
||||
responses:
|
||||
models:
|
||||
|
|
|
|||
|
|
@ -1869,6 +1869,69 @@ paths:
|
|||
$ref: '#/components/schemas/SyntheticDataGenerateRequest'
|
||||
required: true
|
||||
deprecated: false
|
||||
/v1/tool-runtime/file_search-tool/insert:
|
||||
post:
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
$ref: >-
|
||||
#/components/responses/TooManyRequests429
|
||||
'500':
|
||||
$ref: >-
|
||||
#/components/responses/InternalServerError500
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- ToolRuntime
|
||||
summary: >-
|
||||
Index documents so they can be used by the RAG system.
|
||||
description: >-
|
||||
Index documents so they can be used by the RAG system.
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/InsertRequest'
|
||||
required: true
|
||||
deprecated: false
|
||||
/v1/tool-runtime/file_search-tool/query:
|
||||
post:
|
||||
responses:
|
||||
'200':
|
||||
description: >-
|
||||
FileSearchResult containing the retrieved content and metadata
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FileSearchResult'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
$ref: >-
|
||||
#/components/responses/TooManyRequests429
|
||||
'500':
|
||||
$ref: >-
|
||||
#/components/responses/InternalServerError500
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- ToolRuntime
|
||||
summary: >-
|
||||
Query the RAG system for context; typically invoked by the agent.
|
||||
description: >-
|
||||
Query the RAG system for context; typically invoked by the agent.
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/QueryRequest'
|
||||
required: true
|
||||
deprecated: false
|
||||
/v1/tool-runtime/invoke:
|
||||
post:
|
||||
responses:
|
||||
|
|
@ -1939,69 +2002,6 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/URL'
|
||||
deprecated: false
|
||||
/v1/tool-runtime/rag-tool/insert:
|
||||
post:
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
$ref: >-
|
||||
#/components/responses/TooManyRequests429
|
||||
'500':
|
||||
$ref: >-
|
||||
#/components/responses/InternalServerError500
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- ToolRuntime
|
||||
summary: >-
|
||||
Index documents so they can be used by the RAG system.
|
||||
description: >-
|
||||
Index documents so they can be used by the RAG system.
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/InsertRequest'
|
||||
required: true
|
||||
deprecated: false
|
||||
/v1/tool-runtime/rag-tool/query:
|
||||
post:
|
||||
responses:
|
||||
'200':
|
||||
description: >-
|
||||
RAGQueryResult containing the retrieved content and metadata
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/RAGQueryResult'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
$ref: >-
|
||||
#/components/responses/TooManyRequests429
|
||||
'500':
|
||||
$ref: >-
|
||||
#/components/responses/InternalServerError500
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- ToolRuntime
|
||||
summary: >-
|
||||
Query the RAG system for context; typically invoked by the agent.
|
||||
description: >-
|
||||
Query the RAG system for context; typically invoked by the agent.
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/QueryRequest'
|
||||
required: true
|
||||
deprecated: false
|
||||
/v1/toolgroups:
|
||||
get:
|
||||
responses:
|
||||
|
|
@ -9698,6 +9698,274 @@ components:
|
|||
description: >-
|
||||
Response from the synthetic data generation. Batch of (prompt, response, score)
|
||||
tuples that pass the threshold.
|
||||
RAGDocument:
|
||||
type: object
|
||||
properties:
|
||||
document_id:
|
||||
type: string
|
||||
description: The unique identifier for the document.
|
||||
content:
|
||||
oneOf:
|
||||
- type: string
|
||||
- $ref: '#/components/schemas/InterleavedContentItem'
|
||||
- type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/InterleavedContentItem'
|
||||
- $ref: '#/components/schemas/URL'
|
||||
description: The content of the document.
|
||||
mime_type:
|
||||
type: string
|
||||
description: The MIME type of the document.
|
||||
metadata:
|
||||
type: object
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
description: Additional metadata for the document.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- document_id
|
||||
- content
|
||||
- metadata
|
||||
title: RAGDocument
|
||||
description: >-
|
||||
A document to be used for document ingestion in the RAG Tool.
|
||||
InsertRequest:
|
||||
type: object
|
||||
properties:
|
||||
documents:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/RAGDocument'
|
||||
description: >-
|
||||
List of documents to index in the RAG system
|
||||
vector_db_id:
|
||||
type: string
|
||||
description: >-
|
||||
ID of the vector database to store the document embeddings
|
||||
chunk_size_in_tokens:
|
||||
type: integer
|
||||
description: >-
|
||||
(Optional) Size in tokens for document chunking during indexing
|
||||
additionalProperties: false
|
||||
required:
|
||||
- documents
|
||||
- vector_db_id
|
||||
- chunk_size_in_tokens
|
||||
title: InsertRequest
|
||||
DefaultFileSearchGeneratorConfig:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: default
|
||||
default: default
|
||||
description: >-
|
||||
Type of query generator, always 'default'
|
||||
separator:
|
||||
type: string
|
||||
default: ' '
|
||||
description: >-
|
||||
String separator used to join query terms
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- separator
|
||||
title: DefaultFileSearchGeneratorConfig
|
||||
description: >-
|
||||
Configuration for the default RAG query generator.
|
||||
FileSearchConfig:
|
||||
type: object
|
||||
properties:
|
||||
query_generator_config:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/DefaultFileSearchGeneratorConfig'
|
||||
- $ref: '#/components/schemas/LLMFileSearchGeneratorConfig'
|
||||
discriminator:
|
||||
propertyName: type
|
||||
mapping:
|
||||
default: '#/components/schemas/DefaultFileSearchGeneratorConfig'
|
||||
llm: '#/components/schemas/LLMFileSearchGeneratorConfig'
|
||||
description: Configuration for the query generator.
|
||||
max_tokens_in_context:
|
||||
type: integer
|
||||
default: 4096
|
||||
description: Maximum number of tokens in the context.
|
||||
max_chunks:
|
||||
type: integer
|
||||
default: 5
|
||||
description: Maximum number of chunks to retrieve.
|
||||
chunk_template:
|
||||
type: string
|
||||
default: >
|
||||
Result {index}
|
||||
|
||||
Content: {chunk.content}
|
||||
|
||||
Metadata: {metadata}
|
||||
description: >-
|
||||
Template for formatting each retrieved chunk in the context. Available
|
||||
placeholders: {index} (1-based chunk ordinal), {chunk.content} (chunk
|
||||
content string), {metadata} (chunk metadata dict). Default: "Result {index}\nContent:
|
||||
{chunk.content}\nMetadata: {metadata}\n"
|
||||
mode:
|
||||
$ref: '#/components/schemas/FileSearchMode'
|
||||
default: vector
|
||||
description: >-
|
||||
Search mode for retrieval—either "vector", "keyword", or "hybrid". Default
|
||||
"vector".
|
||||
ranker:
|
||||
$ref: '#/components/schemas/Ranker'
|
||||
description: >-
|
||||
Configuration for the ranker to use in hybrid search. Defaults to RRF
|
||||
ranker.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- query_generator_config
|
||||
- max_tokens_in_context
|
||||
- max_chunks
|
||||
- chunk_template
|
||||
title: FileSearchConfig
|
||||
description: >-
|
||||
Configuration for the RAG query generation.
|
||||
FileSearchMode:
|
||||
type: string
|
||||
enum:
|
||||
- vector
|
||||
- keyword
|
||||
- hybrid
|
||||
title: FileSearchMode
|
||||
description: >-
|
||||
Search modes for RAG query retrieval: - VECTOR: Uses vector similarity search
|
||||
for semantic matching - KEYWORD: Uses keyword-based search for exact matching
|
||||
- HYBRID: Combines both vector and keyword search for better results
|
||||
LLMFileSearchGeneratorConfig:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: llm
|
||||
default: llm
|
||||
description: Type of query generator, always 'llm'
|
||||
model:
|
||||
type: string
|
||||
description: >-
|
||||
Name of the language model to use for query generation
|
||||
template:
|
||||
type: string
|
||||
description: >-
|
||||
Template string for formatting the query generation prompt
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- model
|
||||
- template
|
||||
title: LLMFileSearchGeneratorConfig
|
||||
description: >-
|
||||
Configuration for the LLM-based File Search generator.
|
||||
RRFRanker:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: rrf
|
||||
default: rrf
|
||||
description: The type of ranker, always "rrf"
|
||||
impact_factor:
|
||||
type: number
|
||||
default: 60.0
|
||||
description: >-
|
||||
The impact factor for RRF scoring. Higher values give more weight to higher-ranked
|
||||
results. Must be greater than 0
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- impact_factor
|
||||
title: RRFRanker
|
||||
description: >-
|
||||
Reciprocal Rank Fusion (RRF) ranker configuration.
|
||||
Ranker:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/RRFRanker'
|
||||
- $ref: '#/components/schemas/WeightedRanker'
|
||||
discriminator:
|
||||
propertyName: type
|
||||
mapping:
|
||||
rrf: '#/components/schemas/RRFRanker'
|
||||
weighted: '#/components/schemas/WeightedRanker'
|
||||
WeightedRanker:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: weighted
|
||||
default: weighted
|
||||
description: The type of ranker, always "weighted"
|
||||
alpha:
|
||||
type: number
|
||||
default: 0.5
|
||||
description: >-
|
||||
Weight factor between 0 and 1. 0 means only use keyword scores, 1 means
|
||||
only use vector scores, values in between blend both scores.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- alpha
|
||||
title: WeightedRanker
|
||||
description: >-
|
||||
Weighted ranker configuration that combines vector and keyword scores.
|
||||
QueryRequest:
|
||||
type: object
|
||||
properties:
|
||||
content:
|
||||
$ref: '#/components/schemas/InterleavedContent'
|
||||
description: >-
|
||||
The query content to search for in the indexed documents
|
||||
vector_db_ids:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: >-
|
||||
List of vector database IDs to search within
|
||||
query_config:
|
||||
$ref: '#/components/schemas/FileSearchConfig'
|
||||
description: >-
|
||||
(Optional) Configuration parameters for the query operation
|
||||
additionalProperties: false
|
||||
required:
|
||||
- content
|
||||
- vector_db_ids
|
||||
title: QueryRequest
|
||||
FileSearchResult:
|
||||
type: object
|
||||
properties:
|
||||
content:
|
||||
$ref: '#/components/schemas/InterleavedContent'
|
||||
description: >-
|
||||
(Optional) The retrieved content from the query
|
||||
metadata:
|
||||
type: object
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
description: >-
|
||||
Additional metadata about the query result
|
||||
additionalProperties: false
|
||||
required:
|
||||
- metadata
|
||||
title: FileSearchResult
|
||||
description: >-
|
||||
Result of a RAG query containing retrieved content and metadata.
|
||||
InvokeToolRequest:
|
||||
type: object
|
||||
properties:
|
||||
|
|
@ -9821,274 +10089,6 @@ components:
|
|||
title: ListToolDefsResponse
|
||||
description: >-
|
||||
Response containing a list of tool definitions.
|
||||
RAGDocument:
|
||||
type: object
|
||||
properties:
|
||||
document_id:
|
||||
type: string
|
||||
description: The unique identifier for the document.
|
||||
content:
|
||||
oneOf:
|
||||
- type: string
|
||||
- $ref: '#/components/schemas/InterleavedContentItem'
|
||||
- type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/InterleavedContentItem'
|
||||
- $ref: '#/components/schemas/URL'
|
||||
description: The content of the document.
|
||||
mime_type:
|
||||
type: string
|
||||
description: The MIME type of the document.
|
||||
metadata:
|
||||
type: object
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
description: Additional metadata for the document.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- document_id
|
||||
- content
|
||||
- metadata
|
||||
title: RAGDocument
|
||||
description: >-
|
||||
A document to be used for document ingestion in the RAG Tool.
|
||||
InsertRequest:
|
||||
type: object
|
||||
properties:
|
||||
documents:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/RAGDocument'
|
||||
description: >-
|
||||
List of documents to index in the RAG system
|
||||
vector_db_id:
|
||||
type: string
|
||||
description: >-
|
||||
ID of the vector database to store the document embeddings
|
||||
chunk_size_in_tokens:
|
||||
type: integer
|
||||
description: >-
|
||||
(Optional) Size in tokens for document chunking during indexing
|
||||
additionalProperties: false
|
||||
required:
|
||||
- documents
|
||||
- vector_db_id
|
||||
- chunk_size_in_tokens
|
||||
title: InsertRequest
|
||||
DefaultRAGQueryGeneratorConfig:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: default
|
||||
default: default
|
||||
description: >-
|
||||
Type of query generator, always 'default'
|
||||
separator:
|
||||
type: string
|
||||
default: ' '
|
||||
description: >-
|
||||
String separator used to join query terms
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- separator
|
||||
title: DefaultRAGQueryGeneratorConfig
|
||||
description: >-
|
||||
Configuration for the default RAG query generator.
|
||||
LLMRAGQueryGeneratorConfig:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: llm
|
||||
default: llm
|
||||
description: Type of query generator, always 'llm'
|
||||
model:
|
||||
type: string
|
||||
description: >-
|
||||
Name of the language model to use for query generation
|
||||
template:
|
||||
type: string
|
||||
description: >-
|
||||
Template string for formatting the query generation prompt
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- model
|
||||
- template
|
||||
title: LLMRAGQueryGeneratorConfig
|
||||
description: >-
|
||||
Configuration for the LLM-based RAG query generator.
|
||||
RAGQueryConfig:
|
||||
type: object
|
||||
properties:
|
||||
query_generator_config:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/DefaultRAGQueryGeneratorConfig'
|
||||
- $ref: '#/components/schemas/LLMRAGQueryGeneratorConfig'
|
||||
discriminator:
|
||||
propertyName: type
|
||||
mapping:
|
||||
default: '#/components/schemas/DefaultRAGQueryGeneratorConfig'
|
||||
llm: '#/components/schemas/LLMRAGQueryGeneratorConfig'
|
||||
description: Configuration for the query generator.
|
||||
max_tokens_in_context:
|
||||
type: integer
|
||||
default: 4096
|
||||
description: Maximum number of tokens in the context.
|
||||
max_chunks:
|
||||
type: integer
|
||||
default: 5
|
||||
description: Maximum number of chunks to retrieve.
|
||||
chunk_template:
|
||||
type: string
|
||||
default: >
|
||||
Result {index}
|
||||
|
||||
Content: {chunk.content}
|
||||
|
||||
Metadata: {metadata}
|
||||
description: >-
|
||||
Template for formatting each retrieved chunk in the context. Available
|
||||
placeholders: {index} (1-based chunk ordinal), {chunk.content} (chunk
|
||||
content string), {metadata} (chunk metadata dict). Default: "Result {index}\nContent:
|
||||
{chunk.content}\nMetadata: {metadata}\n"
|
||||
mode:
|
||||
$ref: '#/components/schemas/RAGSearchMode'
|
||||
default: vector
|
||||
description: >-
|
||||
Search mode for retrieval—either "vector", "keyword", or "hybrid". Default
|
||||
"vector".
|
||||
ranker:
|
||||
$ref: '#/components/schemas/Ranker'
|
||||
description: >-
|
||||
Configuration for the ranker to use in hybrid search. Defaults to RRF
|
||||
ranker.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- query_generator_config
|
||||
- max_tokens_in_context
|
||||
- max_chunks
|
||||
- chunk_template
|
||||
title: RAGQueryConfig
|
||||
description: >-
|
||||
Configuration for the RAG query generation.
|
||||
RAGSearchMode:
|
||||
type: string
|
||||
enum:
|
||||
- vector
|
||||
- keyword
|
||||
- hybrid
|
||||
title: RAGSearchMode
|
||||
description: >-
|
||||
Search modes for RAG query retrieval: - VECTOR: Uses vector similarity search
|
||||
for semantic matching - KEYWORD: Uses keyword-based search for exact matching
|
||||
- HYBRID: Combines both vector and keyword search for better results
|
||||
RRFRanker:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: rrf
|
||||
default: rrf
|
||||
description: The type of ranker, always "rrf"
|
||||
impact_factor:
|
||||
type: number
|
||||
default: 60.0
|
||||
description: >-
|
||||
The impact factor for RRF scoring. Higher values give more weight to higher-ranked
|
||||
results. Must be greater than 0
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- impact_factor
|
||||
title: RRFRanker
|
||||
description: >-
|
||||
Reciprocal Rank Fusion (RRF) ranker configuration.
|
||||
Ranker:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/RRFRanker'
|
||||
- $ref: '#/components/schemas/WeightedRanker'
|
||||
discriminator:
|
||||
propertyName: type
|
||||
mapping:
|
||||
rrf: '#/components/schemas/RRFRanker'
|
||||
weighted: '#/components/schemas/WeightedRanker'
|
||||
WeightedRanker:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: weighted
|
||||
default: weighted
|
||||
description: The type of ranker, always "weighted"
|
||||
alpha:
|
||||
type: number
|
||||
default: 0.5
|
||||
description: >-
|
||||
Weight factor between 0 and 1. 0 means only use keyword scores, 1 means
|
||||
only use vector scores, values in between blend both scores.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- alpha
|
||||
title: WeightedRanker
|
||||
description: >-
|
||||
Weighted ranker configuration that combines vector and keyword scores.
|
||||
QueryRequest:
|
||||
type: object
|
||||
properties:
|
||||
content:
|
||||
$ref: '#/components/schemas/InterleavedContent'
|
||||
description: >-
|
||||
The query content to search for in the indexed documents
|
||||
vector_db_ids:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: >-
|
||||
List of vector database IDs to search within
|
||||
query_config:
|
||||
$ref: '#/components/schemas/RAGQueryConfig'
|
||||
description: >-
|
||||
(Optional) Configuration parameters for the query operation
|
||||
additionalProperties: false
|
||||
required:
|
||||
- content
|
||||
- vector_db_ids
|
||||
title: QueryRequest
|
||||
RAGQueryResult:
|
||||
type: object
|
||||
properties:
|
||||
content:
|
||||
$ref: '#/components/schemas/InterleavedContent'
|
||||
description: >-
|
||||
(Optional) The retrieved content from the query
|
||||
metadata:
|
||||
type: object
|
||||
additionalProperties:
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
description: >-
|
||||
Additional metadata about the query result
|
||||
additionalProperties: false
|
||||
required:
|
||||
- metadata
|
||||
title: RAGQueryResult
|
||||
description: >-
|
||||
Result of a RAG query containing retrieved content and metadata.
|
||||
ToolGroup:
|
||||
type: object
|
||||
properties:
|
||||
|
|
@ -10280,8 +10280,8 @@ components:
|
|||
`ChunkMetadata` is backend metadata for a `Chunk` that is used to store additional
|
||||
information about the chunk that will not be used in the context during
|
||||
inference, but is required for backend functionality. The `ChunkMetadata` is
|
||||
set during chunk creation in `MemoryToolRuntimeImpl().insert()`and is not
|
||||
expected to change after. Use `Chunk.metadata` for metadata that will
|
||||
set during chunk creation in `FileSearchToolRuntimeImpl().insert()`and is
|
||||
not expected to change after. Use `Chunk.metadata` for metadata that will
|
||||
be used in the context during inference.
|
||||
InsertChunksRequest:
|
||||
type: object
|
||||
|
|
|
|||
30
docs/docs/api-deprecated/agents.tag.mdx
Normal file
30
docs/docs/api-deprecated/agents.tag.mdx
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
id: agents
|
||||
title: "Agents"
|
||||
description: "Agents"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
APIs for creating and interacting with agentic systems.
|
||||
|
||||
## Deprecated APIs
|
||||
|
||||
> **⚠️ DEPRECATED**: These APIs are provided for migration reference and will be removed in future versions. Not recommended for new projects.
|
||||
|
||||
### Migration Guidance
|
||||
|
||||
If you are using deprecated versions of the Agents or Responses APIs, please migrate to:
|
||||
|
||||
- **Responses API**: Use the stable v1 Responses API endpoints
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
72
docs/docs/api-deprecated/append-rows-to-a-dataset.api.mdx
Normal file
72
docs/docs/api-deprecated/append-rows-to-a-dataset.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: append-rows-to-a-dataset
|
||||
title: "Append rows to a dataset."
|
||||
description: "Append rows to a dataset."
|
||||
sidebar_label: "Append rows to a dataset."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV81uGzcQfpUBT4mxkpwgQRrdnNhFjSawISuHwhaK0XJWy4RLbkiubEHQM/TeUx+jz9MX6CsUQ+5aa0sxHKCXANZFK+78ceb7Popr4cjX1njyYrwWLw8P+UuSz52qg7JGjMXZr2KTiVf7Xk1LAkdfG/IBrtGDMkvUSoJ1UKEurKtIikzk1gQygf2xrrXKkf1Hnz0HWQufl1QhP4VVTWIs7Pwz5UFkona2JhdUqs4HDI3v2SkTaEFOZPfK+mU6PYdkDbmVxPUHFTT1fH1wyix2XE+csw6icQYIvrQugG+qCt0KbAGhJKBoc12qvASVNu0UmgCFdYCmfR/zbDh+QKUfmzlZc2ptzYIclE2FZuAIJc41Qc/nTjmcSRkf0OSP2OWzs/iE+jkcwafJh3YzORqYEzSeJAQLjoJTtCSorCNQhucZJwc4t02IyX1NuSpUDjbPG+fI5HSvrk0mUEqV8p33Blqg9pQJxo9yJMX4sptwN63b5s1u55fa9I3mdViGwtkq1nB0fjqEiW0WpV5BYbW21x4mP7+HNz8dvhly0+gGqzoho8PXq8PDbb53KGGSIL6t55HI32x4969evt3PnFwrMgFK9OD5IVgLFZpVF5ijAsJCLckAVrYxIfZWVfREqidS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C7ZNMfnzH+v7J+k=
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Append rows to a dataset."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/datasetio/append-rows/{dataset_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Append rows to a dataset.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"dataset_id","in":"path","description":"The ID of the dataset to append the rows to.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The rows to append to the dataset."}},"additionalProperties":false,"required":["rows"],"title":"AppendRowsRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
19
docs/docs/api-deprecated/benchmarks.tag.mdx
Normal file
19
docs/docs/api-deprecated/benchmarks.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: benchmarks
|
||||
title: "Benchmarks"
|
||||
description: "Benchmarks"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
72
docs/docs/api-deprecated/cancel-a-job.api.mdx
Normal file
72
docs/docs/api-deprecated/cancel-a-job.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: cancel-a-job
|
||||
title: "Cancel a job."
|
||||
description: "Cancel a job."
|
||||
sidebar_label: "Cancel a job."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV81uGzcQfpUBT4mxlpwgQRrd3FhFgzqIYTuHwjaKETnS0uGSG3JWsSDsM/TeUx+jz9MX6CsUw1392HIKJ+glgH3xasn5++b7hsulipTq4BMlNVqq5wcH8s9Q0tHWbINXI/X+F9UW6sV9S+clQaRPDSWGz5jA+jk6ayBEqNBNQ6zIqELp4Jk8iz3WtbMaxX54ncTJUiVdUoXyxIua1EiFyTVpVoWqY6gpsu2yS4zcpK191jPNKKriTlo/n5+fQLcbdDAk+bNlR1u2iaP1sx3TcYwhQt5cAEIqQ2RITVVhXECYApcElPd8Lq0uwXZFR4ueYRoioO/Xc5xW/DNa99DI3W4J7YKf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lBBN9iK5t5fWnhqKQ7apQ+YyZCLMulsrYJM9mPUS/WMeT0151T+FbJsW9Zfcv0S+EuOga+aUK9ZEWdyeXDJD/IdmdWfINefVgt1dtoUpCQzFD2S0eak01b5ntfKeIxNcj6Gh8PD4fq7b9Fy2isFc=
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Cancel a job."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/eval/benchmarks/{benchmark_id}/jobs/{job_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Cancel a job.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to run the evaluation on.","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","description":"The ID of the job to cancel.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/cancel-a-training-job.api.mdx
Normal file
72
docs/docs/api-deprecated/cancel-a-training-job.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: cancel-a-training-job
|
||||
title: "Cancel a training job."
|
||||
description: "Cancel a training job."
|
||||
sidebar_label: "Cancel a training job."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV81u20YQfpXBnhqDkpwgQRrdHNtF0yawYMuHwhaK4XIkrrPcZWaXsglBz9B7T32MPk9foK9QzFK05NhJXaCXAOZBIsj522++b3a5Ukyh9i5QUOOVerG/L38FBc2mjsY7NVYnP6t1pl4+9GpaEjB9aihEuMYAxi3RmgI8Q4V27rmiQmVKexfJRfHHurZGo/iProIEWamgS6pQ7mJbkxorn1+RjipTNfuaOJquuhAxNmHHzrhIC2KVfVbWj9PpBDpr0L4gqT+aaGnHN0Q2bnHP9ZjZMyTjDBBC6TlCaKoKuQU/h1gSULK5Lo0uwXSLZoMuwtwzoNu8T3nWEj+isY/N3FlLauvdghjKpkI3YMICc0uw43OnHMlkXIjo9CNW+d1JukP7DA7g/PT9ZjEaHeQETaACogemyIaWBJVnAuOkn6lzgLlvYkoeatJmbjR4rRtmcpo+q2udKSwK0+Wb7DR0jjZQpoQ/hqlQ44u+w323bsGb3favg+kL4PVchjn7KtVwMHk3hFPfLErbwtxb668DnP5wCK+/3389FNDoBqu6Y0bPr5f7+9t8b7GA047i23oeyfz1Wlb/8sWbh5WjrSEXocQAQW6i91Cha/vAEhUQFmZJDrDyjYsJW1PRk6ieRPWNierFm22+qffwQZi+UVbYldYvvoESlwR0o4kKgU3EhpHAmsrEIUwsYSCI3AIu0DiwGImHG729+tJOFYiXxEBOi5SIqRBiNY5uatKRig24T9J6ktY3Ja1Xu/vVO2G2QwtnHdu3+TfyOrhP+R6MYggnDUMkrNKulBM5cD6auaGil1dBc2xsvC+xrwV+EtWTqL4tUe0/lO0REkoqEarhIshqJj7EKaNxxi3gu0Nfyf+Z9+6ZLOjuAg6lcRYQYu9w5fOhSAAZK4rEEnLWwUUhvvVFKzX/T9K68vmvTWOKf6eO7Kbn5++O+i5f+Vy4olP9w//W7tusO/3tgOhh+8nn/Qk8Qbv1jtxQUlfNpDH2jzJVUSx9ocaq9uncXmMs1ViNls9H8mTQAzy68vmoK1tlqjsgCMYr1bB0uoyxHo9G6NpB6UOkYmAtVjgIEfXHofaVWs/ETzdsYpscj/r5eDGTd9KE0227jrdM28Ldw5zkO/cJ/w0S7yUdnEk6ONvIrJPfAI5uly0UF8VI9V2Hls8faJrMqXBHsbg7Q3ZzxRIj1OyXpqBw6eCzCyFQ+hghV9TeuBgAXTqoGQbtuRNhIRSW+cxz1BS6oMh06URIntOEuR88l48qS0tiXPRVffAF2TC8dJdub++v3//4+8/f4Oh4cnp8eDA9PtrbG8N7WqBuExJdogpbGWRMlV9SId9S8yY2TLBBKQzhXMaEfLKZBXdQMM1pM8CcbdNwEMJUmJTksKKv6fQO4Du6/LLHRmeRbuKotmicZEzcW21Ie9H18g5tVSbskU21o+4sU0JPMV6tcgx0zna9lsefGuK2Gxppg8qFVRezdaZKwoI4UfYjtVJjV+1gKiWJuW2ktHsTZZ31HgdaUx2/ajvb0eLk5GyqMpVvplYlm/JYMV6rLP2OlcqUT+ileZSerZRFt2hwIbZdTLn+AZwUiLM=
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Cancel a training job."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/post-training/job/cancel"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Cancel a training job.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"job_uuid":{"type":"string","description":"The UUID of the job to cancel."}},"additionalProperties":false,"required":["job_uuid"],"title":"CancelTrainingJobRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/create-a-model-response.api.mdx
Normal file
72
docs/docs/api-deprecated/create-a-model-response.api.mdx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: create-a-new-session-for-an-agent
|
||||
title: "Create a new session for an agent."
|
||||
description: "Create a new session for an agent."
|
||||
sidebar_label: "Create a new session for an agent."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1u2zgQfpUBT22g2GnRolvf3CSLLdCigeMcFomxGJNji61EKiTlxDD0DHvf0z7GPs++wL7CYkgpVuJkmy56KRBfLEvk/H3fN9R4Ixz5yhpPXow24uXBAX8p8tLpKmhrxEiMDYyXZMIpea+tOXSEgSbttoHIhLQmkAm8E6uq0BJ55/Cz5+0b4WVOJfJVWFckRsLOP5MMIhOVsxW5oJNzn+z/plVvrQ9Om6XI7sR0ZvRlTaAVmaAXmhwsrIOQE8gYnoLWmmiaTKBSmjdicdLzuMDCUyYcXdbakRKj834Is0wEHQqO4eHsd+LqHoCjUDtDCq5yMikobZaAYOgKkA12EQ5E03CQr+6r/TRnU5c1+QBX6EGbFRZagXVQYrGwriT1HREIGGrfW6dNoCW5nTR/mU5PIK0GaRWJ5qZaX0Pu2DlGihdngOBz6wL4uizRrcEuIoYU11zlWuagU9JOowkRZDTt8+inYfsBdfFYz2k1uy6sWZKDvC7R7DtChfOCoLfnVjjsSRsf0MhHZPnsU5UI9xzGcDb50CYj0cCcoPakIFgmidO0IiitI9CG8YzIAc5tHaJzX5HUCy3BSlk7R0bSnbi+ieAJ4Q6tm+L12B7L9EDxumYBC2fLGMP45P0AJrZe5sUaFrYo7JWHyc+H8OangzcDLhpdY1klZnT8enVwsPX3DhVMEsW38TyS+a1yXr69Xzmy0Cy0HD14vgjWQolm3Rlmq4Cw1CsygKWtTYi11SU9iepJVD+YqF6+3fqbWgsfmemtsnxfWr/aGnJcEdC1JFJcNhYbBoJClzoM4KQg9ATBrQGXqA0UGMh1J9Xrh04qT25FDshIlhI5Ukys2tB1RZIPZWrL8CStJ2n9QNJ63T+v3jOzDRZwmti+9d/Ka7xL+a4YagCfageBsIyn0pzIgLHxFVZ18lK0wLoI976IP2j4SVRPovqxRHVwn7dHSCiqhKmGS8/ZxOnMc/C3g02TWjtxtbNWx504gPHoWqHDkgI5NrURBkuOJz7mIZDRFiNRYch3isEH3vujDoY00gXbzp8Jta1T9rWFILiasl1BtjRqmllaTD68s2rNK77ziJ3y/Bp/OUNe2eXY5XOT5eD/TdfRe49sCan+lN3NAxHo23WLWq8cSZ7yu1KWFHKrGCkbp4gI2EgMVy+GERg/3HSYNsPun4FMpPeVBH3tmHh5CNVoOESz3s+tD6T2iwJL3PcB5ZeBtKVgcDzJ2umwjhuPunZ9PuNnDMlkC95xj/i3in+DNnNsYSMabT0+sEs4ZZdw2io/dYR9OLrJnVXHIuYMEl6rF/dAyK3T32oi2G9rfV8hxwCVsyutyF8YuPNB8BTnIzKqstoED2jiu6N2IK1LfUHx3xx8ZLgFSvLJKDq6MKxt62LT2zU+5zmvoBU5XHZRfbSKCj+4MBdmb+/vP/7856/f4ej4ZHJ8OJ4eH+3tjeADLVGuYyWSoxLX3FsdlXZFise7RR1qR9BWyQ/gjDsXT5F66VIpHC2o7ammWMd+xTwqMWqrhetR7eRW8XuqfdzuVo2BrsOwKlAbjiTyctMy+jxhnDgtMjHqdaqO1rNMMHV58WYzR09nrmgavn1Zk2POzjIRz9I5s+18I5T2fK1uRPtgGs8mrRafwze3v3uza2+iWTOTsaj5l8jEF1r3+3AzazKREypyMeL0+DDFtT9lI9vtOw2yybodYympCv+5dtbrJiefTqciE/O2CZf8kjMSDq+4m+NVCtXGOsX2Gu9tRIFmWeOS1yab/PkXtuB+eQ==
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Create a new session for an agent."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/agents/{agent_id}/session"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Create a new session for an agent.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"agent_id","in":"path","description":"The ID of the agent to create the session for.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"session_name":{"type":"string","description":"The name of the session to create."}},"additionalProperties":false,"required":["session_name"],"title":"CreateAgentSessionRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"An AgentSessionCreateResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"session_id":{"type":"string","description":"Unique identifier for the created session"}},"additionalProperties":false,"required":["session_id"],"title":"AgentSessionCreateResponse","description":"Response returned when creating a new agent session."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
73
docs/docs/api-deprecated/create-chat-completions.api.mdx
Normal file
73
docs/docs/api-deprecated/create-chat-completions.api.mdx
Normal file
File diff suppressed because one or more lines are too long
73
docs/docs/api-deprecated/create-completion.api.mdx
Normal file
73
docs/docs/api-deprecated/create-completion.api.mdx
Normal file
File diff suppressed because one or more lines are too long
73
docs/docs/api-deprecated/create-embeddings.api.mdx
Normal file
73
docs/docs/api-deprecated/create-embeddings.api.mdx
Normal file
File diff suppressed because one or more lines are too long
73
docs/docs/api-deprecated/create-moderation.api.mdx
Normal file
73
docs/docs/api-deprecated/create-moderation.api.mdx
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
---
|
||||
id: create-moderation
|
||||
title: "Create moderation."
|
||||
description: "Create moderation."
|
||||
sidebar_label: "Create moderation."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1u20YQfpXBnpJAlp2gRRvdHMdFAySwYTsoCtsIRuSQ3GS5y+yPFMLQM/TeUx+jz9MX6CsUs7uyaEl2nCA9BLAupsnlzDez3zfLmSthyXVGO3JiciWe7e3xn5JcYWXnpdFiIvahNSVZ5H/BTN9T4cdiJAqjPWnP67HrlCzigt33jl+6Eq5oqEW+8n1HYiLSm2IkOms6sl4ml7IcrHHeSl2L0RqCs4YgaPkxEMiStJeVJAuVseAbGqKz9DGQ82OxGAm+re5nOy6F4KgEb6AmzfZo07gLyrtoPF8PzKO12IuRkJ5a9/mwK4V1TcPYp8YoQr0B8LeGfEMWUPdgqghqSsrMoUBPtbGSHKAlyBYjvNWjbUiwLCUbR3V8A9MakMU6kn1Q0vkliJWPEaAuYZ5x+ob6ISAwFrTxQ1z9u8gYKt9J3QX/jh1/DdLbcp63enHvCACV0TXMpW/ikwgL2Noj9xh8gz7edoWxBAm7A29uxhSffk0YOrRTsvfP9xpaaRMwB+igs1TKwlMJ0z7xOoIMjuy7lpzDmrYkaiRa8lii3yrY2+AbTUeVmJwPAlFKLEZbmLQZ6yaGtW0d3MhIFpcL3tLtcCpUjliYH4O0LKzza40NorscCS+9YqNvrpV9FM2fZElv7sKW8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a0hbOnW3aVq7u7UedwWHmHvuK4r7NmJktyFxrWfgiOYgtHuuyM1KxlXeZBXGFsKl2l1DXwqWYrLHhYyEbR0oXm8mNsrMubxqfciiqakeVSkVC9SSS+0Bf6yZN//vzr37//gJeHxyeHB/tnhy+fPJnAa6qx6GMmkqMWe5aXpdbMqOQOtAo+WIKcJTeGt1xcudGV9fV8u6Jc9rXqo2iYTS3GsqKxpa0Vbz3ZgwL1P9XHrGB+dbdTKOOoOlL4KhP/PJEgUZ/J8TQzbkn/y5FgivPKq6spOnpr1WLBtz8Gsn2qu/FjYMpcPL9cjERDWJKNtP9APUeX4tw5Yzy8XIVYLNeLMhfS9MZ+UVDn71x7ORDz8dHpmRiJaS78HICYCItzngziXExEDDKFNLlK966EQl2HOOgVySb//gMWwBm7
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Create moderation."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/openai/v1/moderations"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Create moderation.
|
||||
Classifies if text and/or image inputs are potentially harmful.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Input (or inputs) to classify. Can be a single string, an array of strings, or an array of multi-modal input objects similar to other models."},"model":{"type":"string","description":"The content moderation model you would like to use."}},"additionalProperties":false,"required":["input","model"],"title":"RunModerationRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A moderation object.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the moderation request."},"model":{"type":"string","description":"The model used to generate the moderation results."},"results":{"type":"array","items":{"type":"object","properties":{"flagged":{"type":"boolean","description":"Whether any of the below categories are flagged."},"categories":{"type":"object","additionalProperties":{"type":"boolean"},"description":"A list of the categories, and whether they are flagged or not."},"category_applied_input_types":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"A list of the categories along with the input type(s) that the score applies to."},"category_scores":{"type":"object","additionalProperties":{"type":"number"},"description":"A list of the categories along with their scores as predicted by model."},"user_message":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}}},"additionalProperties":false,"required":["flagged","metadata"],"title":"ModerationObjectResults","description":"A moderation object."},"description":"A list of moderation objects"}},"additionalProperties":false,"required":["id","model","results"],"title":"ModerationObject","description":"A moderation object."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
73
docs/docs/api-deprecated/creates-a-vector-store.api.mdx
Normal file
73
docs/docs/api-deprecated/creates-a-vector-store.api.mdx
Normal file
File diff suppressed because one or more lines are too long
19
docs/docs/api-deprecated/dataset-io.tag.mdx
Normal file
19
docs/docs/api-deprecated/dataset-io.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: dataset-io
|
||||
title: "DatasetIO"
|
||||
description: "DatasetIO"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
19
docs/docs/api-deprecated/datasets.tag.mdx
Normal file
19
docs/docs/api-deprecated/datasets.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: datasets
|
||||
title: "Datasets"
|
||||
description: "Datasets"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
72
docs/docs/api-deprecated/delete-a-response.api.mdx
Normal file
72
docs/docs/api-deprecated/delete-a-response.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: delete-a-response
|
||||
title: "Delete a response."
|
||||
description: "Delete a response."
|
||||
sidebar_label: "Delete a response."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFu20YQ/ZXBnhKDlpwgQRrd1EhFDTiwociHwjaK0XIobrLcZXaXsgWB39B7T/2Mfk9/oL9QzJKUaEtuHaCXANZFFLmz8+bte7scbYQjX1rjyYvRRrw+OeGvlLx0qgzK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mNA+hHA2HaNbHufWB0mOtscBjH1B+GUhbCIbiSVZOhXUMnHQ70dUNP2NtxgraZTvjePjE8fCpVWij3GOYbEtidbDYGE5D4+rVAWbZ4v6e2LFvv36ukGOA0tmVSslfG3jwQfAU3+PJpKVVJnhAE99xlANpXcNUyp05b20uQ0m+mRQdXRvWoHXRnPuTL7gf0bQih8sO1UebkvaDa3Ntjo7++v2Pv//8DSbTi9n0w3g+nRwdjeCMlijXkYkmUYFr3gMcFXZFKbchWRUqR9Cy5AdwyQ7jbkctXUOFo4xa7xu9jr4qrQ8Fxv291fJB2d8je7M7KQ6PbhUa6C4MS43KcKYook0rw6tmDRsh8tq+ipLv/jRLxKhvqZtEsOI4bLNZoKdLp+uab3+tyLHUbhIRd/cF6+pqI1Ll+Trdbl+PFvBi1hrtJXyDOw9W2N5Es+aKUFf8SyTiC60f7BH1TZ2InDAlF+E2I8ZSUhl6sXunMJto6+zJ9Gw6n4q6/gex2iJm
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete a response."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/openai/v1/responses/{response_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Delete a response.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"response_id","in":"path","description":"The ID of the OpenAI response to delete.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"An OpenAIDeleteResponseObject","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the deleted response"},"object":{"type":"string","const":"response","default":"response","description":"Object type identifier, always \"response\""},"deleted":{"type":"boolean","default":true,"description":"Deletion confirmation flag, always True"}},"additionalProperties":false,"required":["id","object","deleted"],"title":"OpenAIDeleteResponseObject","description":"Response object confirming deletion of an OpenAI response."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/delete-a-vector-store-file.api.mdx
Normal file
72
docs/docs/api-deprecated/delete-a-vector-store-file.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: delete-a-vector-store-file
|
||||
title: "Delete a vector store file."
|
||||
description: "Delete a vector store file."
|
||||
sidebar_label: "Delete a vector store file."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1u2zgQfpUBT22g2GnRoq1v2drFBkiRwEl2sUiCYkyNLLYUqZKUG8PQM+x9T/sY+zz7AvsKi6Ek/7dN0V4KJJfIFjk/33zfkOOFcORLazx5MViIp0dH/C8lL50qg7JGDMQx/EYyWHcRrKM3StOQNAUat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GqRiObq0JSicsyBPIRy0O+jmR/m1gdKD7XGAg99QPmhJ20hOERPsnIqzOPGYdc5r2/5HWspZtbS7JT3wwXvh4tWUY3SDmG4TJXZzOLgcBpMZ0/2wMwtyW+IE9fbxbqvkGOA0tmZSsnfGNj6Q/AU5w4yaWmVCR7QxDuZciCta/SWMpe4FbsMJfnGKDq6YaJp62Iz2TU+4flJ04wcTruo3tqUtO/dmBtzcPDvX3//98+fMBydj0evjy9Hw4ODAZzSFOU8ItE4KnDOPctRYWeU8tiUVaFyzPqIku/BFXcEns7UtP05xlFGba8yeh77QGl9KDCeRy2pvyzSDdQXqyPuK9taLge6C/1SozLsO9Jq0RL2uqlqQ1mu9pNY8jXaikQMdrtBZC6/6sR4mwimJ1tcLCbo6crpuuavP1bkmJe3iYhH14RJeL0QqfL8nC5782eTfDRu1foYvqfX7EWj/RLNnBNHXfEnkYgPNN/TBrkL/YC4f0hsHfL1bZ2InDAlF3Ft3h5LSWVY27dzF+LWsOxjw9Hp6HIk6vp/t5+1lw==
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete a vector store file."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/openai/v1/vector_stores/{vector_store_id}/files/{file_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Delete a vector store file.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"vector_store_id","in":"path","description":"The ID of the vector store containing the file to delete.","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"path","description":"The ID of the file to delete.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A VectorStoreFileDeleteResponse indicating the deletion status.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the deleted file"},"object":{"type":"string","default":"vector_store.file.deleted","description":"Object type identifier for the deletion response"},"deleted":{"type":"boolean","default":true,"description":"Whether the deletion operation was successful"}},"additionalProperties":false,"required":["id","object","deleted"],"title":"VectorStoreFileDeleteResponse","description":"Response from deleting a vector store file."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/delete-a-vector-store.api.mdx
Normal file
72
docs/docs/api-deprecated/delete-a-vector-store.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: delete-a-vector-store
|
||||
title: "Delete a vector store."
|
||||
description: "Delete a vector store."
|
||||
sidebar_label: "Delete a vector store."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1uGzcQfpUBT4mxluwgQRrd3EhFDTiwIdstCtsIRtyR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9dDImda011Psjgkb6VRVRF84khjWy3MKmU3FoBlDI/SQiYHoz4/7tiCDij91kfv+cquQSiSivpnrckvHFGchFIN+H83iMLM+UHqoNeZ46APKrz1pc8GQPMnSqbCIG4ftwXRzx89YqrGSpotnvB8ueT9cNoKthXwIw1VpLBbWHsOpuZwf76GXHe83tI9dN3ZzhQwDFM7OVUr+1sDWD4Kn+FpPJi2sMsEDmvjKoxxI62o5pzyY80nnpijJ10HR0a1hSVoXvbobfMLjiaY5OZy1qD7ZlLTv3Zpbc3Dw52+///XHrzAcXYxHH0+uRsODgwGc0QzlIjJRJ8pxwUeCo9zOKeWpZFqG0rGyIku+B9dsOB5+1Kz5J4ejKTVHgdGLaLPC+pBjPO4bUT/qgQ3Cl+vL4/EdjWIDPYR+oVEZzhjFtGxkeVP3shYm9/g4NrojTpGIwbbP7hLBCuTty+UEPV07XVX89beSHEvvLhHx8J+wzm6WIlWeP6er0+3RYl6NGwO+hqdadm+ZzZdoFlwR6pL/Eon4Sos9J0d1VyUiI0zJRbz1qhMpqQid/Tu3NLtqZfnh6Gx0NRJV9TcAjDkN
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete a vector store."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/openai/v1/vector_stores/{vector_store_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Delete a vector store.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"vector_store_id","in":"path","description":"The ID of the vector store to delete.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A VectorStoreDeleteResponse indicating the deletion status.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the deleted vector store"},"object":{"type":"string","default":"vector_store.deleted","description":"Object type identifier for the deletion response"},"deleted":{"type":"boolean","default":true,"description":"Whether the deletion operation was successful"}},"additionalProperties":false,"required":["id","object","deleted"],"title":"VectorStoreDeleteResponse","description":"Response from deleting a vector store."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: delete-an-agent-by-its-id-and-its-associated-sessions-and-turns
|
||||
title: "Delete an agent by its ID and its associated sessions and turns."
|
||||
description: "Delete an agent by its ID and its associated sessions and turns."
|
||||
sidebar_label: "Delete an agent by its ID and its associated sessions and turns."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV8FuGzcQ/ZUBT4mxlpwgQRrd3EhFjTqIYTuHwjaKETnSMuGSG3JW8ULYb+i9p35Gv6c/0F8ohruy5chp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NYWUPp0sMXH4RE+Y89eVMH63loc0k2gg6xJ7Sxfgky6+ICNaXeKUa69ELKELNad53P5QXF0YoiLjeo3gZDLo0u/aXf2/v7jz//+et3mM5OTmdvDs9n0729CRzTEnWbK9EHqrCVoRCpCisy8l6yaLiJBEOV0gjei+Tk9ccuY1+KSAsahoF3bRZaHRJXmAf+QNdvoIM7rVnfXjTfwvfAdqZrHtcOrZcsMkHXA6Uven70pFaFmtwI8KpQwlw5sl7PMdH76LpOHn9qKAplrwqVr4258PNirYxNsjY3c/GrqT05HQT6FP5Xy/fmMDxE3wrX0TXySxXqI7XbQ6S76gpVEhqKGWG/fag11bxluHOji/5uhsB0djw7n6mu+xfNDGte
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete an agent by its ID and its associated sessions and turns."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/agents/{agent_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Delete an agent by its ID and its associated sessions and turns.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"agent_id","in":"path","description":"The ID of the agent to delete.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: delete-an-agent-session-by-its-id-and-its-associated-turns
|
||||
title: "Delete an agent session by its ID and its associated turns."
|
||||
description: "Delete an agent session by its ID and its associated turns."
|
||||
sidebar_label: "Delete an agent session by its ID and its associated turns."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV81uGzcQfpUBT4mxlpwgQRvd3EhFjTqI4TiHwjaKETnSMuGSG3JWsSDsM/TeUx+jz9MX6CsUw139OHIKp+klgH3xapfDb+ab7xvurlSkVAefKKnRSj09OpJ/hpKOtmYbvBqp1z+rtlDP7np0URJE+tBQYviICaxfoLMGQoQK3SzEiowqlA6eybPEY107q1Hih++SbLJSSZdUoVzxsiY1UmH6jjSrQtUx1BTZdtklRm7SzjrrmeYUVfFJWj9dXJxBtxp0MCT5s2VHO7GJo/XzvdBJjCFCXlwAQipDZEhNVWFcQpgBlwSU13wsrS7BdkVHi55hFiKg759nnFb2Z7TuvsjdaoF2wc8pQtlU6A8jocGpI9iJuZWOIFmfGL2+R5WPXucrdI/hGN6en/bFaPQwJWgSGeAAkThaWhBUIRJYL/3MnQOchoYzeKpJ25nVELRuYiSv6ZO82kKhMbbDO9tp6AxdokKJfmwko0aX6w6vu7Uh73rTv46mz5C31jLMYqhyDsdnJwM4D828dEuYBefCx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"delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete an agent session by its ID and its associated turns."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/agents/{agent_id}/session/{session_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Delete an agent session by its ID and its associated turns.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"session_id","in":"path","description":"The ID of the session to delete.","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","description":"The ID of the agent to delete the session for.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/delete-file.api.mdx
Normal file
72
docs/docs/api-deprecated/delete-file.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: delete-file
|
||||
title: "Delete file."
|
||||
description: "Delete file."
|
||||
sidebar_label: "Delete file."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFuGzcQ/ZUBT4mxlpwgQRvd1EhBDTiIoTgoCtsoRuRIy4RLbkiu7IWw39B7T/2Mfk9/oL9QDHdXki0ZdYBeAlgXrXbJmcc375E7WgtPoXQ2UBCjtXh5csJfioL0uozaWTESYwsfSrLj03fa0IQMRZp1k0BbpSVGbZcQKikphEVlQPEg7exAZEI6G8lGDotladJoZ4efA8deiyBzKpCvYl2SGAk3/0wyikyU3pXko26RabUzJkSv7VJk94Be5AQLbQi0Ihv1QpOHmGOEGwwtJlKiyfoUB+JJZ0MUI8FRUvgFVubOjfv52ljAgTK4ybXMQQdAc4N1gKs070pw0j7/NuvcOUNo98L+klPME/RuOQx/y66pt2tpMoFKaZ6I5nyHsAWaQJnw9LXSnrNeMoPZlt0+xHUmoo6G8TxU5D2Am+ovnO9qbZeAHfe9WoAjBRifnw5E0zDUV4fUxSQyTAptnbRdodEKnIcCzcL5gtT/J6MQMVZhZ5y2kZbk99b488XFObSjQTpFXMKOqP+S4dR75yENzgAh5M5HCFVRoK/BLVJdKY3Z6IUX7TXamChF2z1PeZJ2Imrz2MztaE5tnF2Sh7wq0B57QoVzQ7Az5w4czqRtiGjlI1b57EPZyu45jOHT7KxbjEQLc4IqkILowFP0mlYEhfOsDa5nqhzg3FUxJQ8lSb3QEpyUlfdkJd3D9S0y7yrcV2tD3o7QE00PkOc32vauSBhYwDBz1TI3NSycMe4mwOzdW/jhx5MfBkwa3WJRtsro9fXq5GSb7ydUMGslvsXzSOV3znn55rBzpNFkI+S8Q/BFdA4KtHUfmKMCwlKvyAIWrrIxcasLejLVk6m+M1O9fLPNd+EcvGeld84Ku9b61VWQ44qAbiWRYtrYbBgJjC50HMC5IQwE0deAS9QWDEby/Un1+qGTKpBfkQeykq1EnhQLq7J0W5KMpDpyn6z1ZK3vylqvd8+rU1a2RQMfW7Vv83f2Gu9LvidDDeBD5SESFulUmhNZsC69javeXpv36gOtxoOBn0z1ZKrvy1Qnh7I9wkLJJSw1XAZeTWqkGPtdrG2XlroubrRL9FhQJM9z1sJiQV3j+ltq/TTPKTHmB/vY00lPd+riouPqJSHGXIf+dZLzbHmOvqJs33WdVpomIS49SYzb4QXF3Ckx6jrQBDzmYiSGqxdDV5JFzVeMIgzXHfxGZKI9etvFVZ45zGMsR8Mh2vo4dyGSOjYGCzwOEeWXgXSFYAiBZOV1rNPESb/zXF7zM9ZiQt6V6Yznw0eeDx87RbZKPYbJZimsBhYXw2kZXL04QCpbOtwRN+7abTdX+pei9G6lFYUrC/c+CIHSeztZVTptYwC06Z1Ge5DOt3pV3IXzVuYXKCm0QdHTlWXNOZ/MuB98zv2HoRV5XPao3jtFJgyu7JU9Ovr7jz//+et3mEzPZ9O344vp5OhoBGe0RFknJtpEBdbseU+FW5HitmNRxcoTdCyFAXzqFFXopW+p8LSgzuvW1MlHpQuxwLSfdxK+p/M7NK+3Z8L9cZ0aI93GYWlQW46ehLPuJHfZ1q0VHdeTfyXhiUyMeudcZ4LVxcPX6zkG+uRN0/DtrxV5ltV1JtLOPWcNXa6F0oGv1WZrehDys1lnpufwbSY8uLjuJtqaF4Om4l8iE1+o3tkJmusmEzmhIp/Qtk/HUlIZd+btHbDsl415J9Oz6cVUNM2/lckMtA==
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete file."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/openai/v1/files/{file_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Delete file.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"file_id","in":"path","description":"The ID of the file to use for this request.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"An OpenAIFileDeleteResponse indicating successful deletion.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The file identifier that was deleted"},"object":{"type":"string","const":"file","default":"file","description":"The object type, which is always \"file\""},"deleted":{"type":"boolean","description":"Whether the file was successfully deleted"}},"additionalProperties":false,"required":["id","object","deleted"],"title":"OpenAIFileDeleteResponse","description":"Response for deleting a file in OpenAI Files API."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/describe-an-agent-by-its-id.api.mdx
Normal file
72
docs/docs/api-deprecated/describe-an-agent-by-its-id.api.mdx
Normal file
File diff suppressed because one or more lines are too long
19
docs/docs/api-deprecated/eval.tag.mdx
Normal file
19
docs/docs/api-deprecated/eval.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: eval
|
||||
title: "Evaluations"
|
||||
description: "Evaluations"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
Llama Stack Evaluation API for running evaluations on model and agent candidates.
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
19
docs/docs/api-deprecated/files.tag.mdx
Normal file
19
docs/docs/api-deprecated/files.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: files
|
||||
title: "Files"
|
||||
description: "Files"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
This API is used to upload documents that can be used with other Llama Stack APIs.
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
72
docs/docs/api-deprecated/get-a-benchmark-by-its-id.api.mdx
Normal file
72
docs/docs/api-deprecated/get-a-benchmark-by-its-id.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: get-a-benchmark-by-its-id
|
||||
title: "Get a benchmark by its ID."
|
||||
description: "Get a benchmark by its ID."
|
||||
sidebar_label: "Get a benchmark by its ID."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFuGzcQ/ZUBT4mxlpwgQRvdnNhNDTiI4TiHwjaMEXekZcwlN+SsbEHQN/TeU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XYtWObivSTHkL7pO0nqT1Q0nrdf++OhJmO7TwqWH72n8rr/37lO/AyAfwsQ7AhGW6lcZEDpxPf1LzTl6rGuhe1fnIwk+iehLVjyWqvW3evkNCSSVCNZxGyWZVjkVJYDPg98SAvaJsPAfDEY4OpGtTYcCSmEJMVa/Dkvp9h6YoNLJMhVxsbUMcHXTbsPbBHqbE4mCNOYeasvsK7IrlZQq8CqSR1+YlceFzNVLT1GtJQYzUcPZiKOXkcOUxDhf9oJdSyqajqcmrDoJowVyNhkN0893CR6Z811oscTcy6uuB9qWSICLpOhiep4kH3Tl0finvhJkp9nbTjmU+fJL58KnlZ8PbXThYJSPciKmFFGKD2+zFFihF4HGD6tgXX98XF8jQVvPxwsGdD4K0bfwEyOWVN44joEv/cEwA7UPD3lxKcTnYwgQ1xWZRDHThhIE+JGneX3ws1YilGQWcdlF9kII+Di7chdvZ+fuPP//563c4ODw5PXy3f3Z4sLMzgmOaop4nJBpHJc7lBAhU+hnlUoRMaq4DQYtSHMDntulUmmlooAg0oVb5zs6TqiofucR0urfsfZTwG6Av1vfF47NarjLd8rCyaFKDKZFq0XLyvNlTYWW/ASjbPtqQ02WmhHwyY7EYY6TPwS6XMvy1piCsu8xUOubHQrHzhcpNlOd8dY49mMOz01Ztz+HbytyaU9evctKsk4aN/FKZuqb53XMh9a4KwlxateeL1mRfa6q4N/neNSw6Wsn6/eGZWi7/Bbtc1oc=
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get a benchmark by its ID."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/eval/benchmarks/{benchmark_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Get a benchmark by its ID.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to get.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A Benchmark.","content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string"},"provider_resource_id":{"type":"string"},"provider_id":{"type":"string"},"type":{"type":"string","enum":["model","shield","vector_store","dataset","scoring_function","benchmark","tool","tool_group","prompt"],"const":"benchmark","default":"benchmark","description":"The resource type, always benchmark"},"dataset_id":{"type":"string","description":"Identifier of the dataset to use for the benchmark evaluation"},"scoring_functions":{"type":"array","items":{"type":"string"},"description":"List of scoring function identifiers to apply during evaluation"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"Metadata for this evaluation task"}},"additionalProperties":false,"required":["identifier","provider_id","type","dataset_id","scoring_functions","metadata"],"title":"Benchmark","description":"A benchmark resource for evaluating model performance."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/get-a-dataset-by-its-id.api.mdx
Normal file
72
docs/docs/api-deprecated/get-a-dataset-by-its-id.api.mdx
Normal file
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/get-a-model-response.api.mdx
Normal file
72
docs/docs/api-deprecated/get-a-model-response.api.mdx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,79 @@
|
|||
---
|
||||
id: get-a-paginated-list-of-rows-from-a-dataset
|
||||
title: "Get a paginated list of rows from a dataset."
|
||||
description: "Get a paginated list of rows from a dataset."
|
||||
sidebar_label: "Get a paginated list of rows from a dataset."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWV1uGzcQvsqAT4khy06QoI3e3NhNDeTHcBwURWwEo93ZXSZcckPOyhYMnaHvfeoxep5eoFcohtyV1pbi2EWAIoD9YosmOd/MfN8MSV0qT6FxNlBQk0v1eHdXfuUUMq8b1s6qidqDIyy1Rab8uJs8ViOVOctkWeZj0xidoczf+Rhk0aUKWUU1yl88b0hNlJt+pIzVSDXeNeRZJ5M58nAWeo9zNVKaqQ6bVmOeazGE5ujKPs7Sm0JN3i9X2NYYtRgtP0+dM4R2OGTbekp+OBLYa1sORxKgwUCHZHG2WIyuReqkIjA6MLgCogNQOA9cEWSt92QZGixJLUaqwvChdp4GHvb4rm/6a0VcUdzGE6AnkIXd/jhDbXBqCLDgOEkHCMRio/VmsH3n2SbI745fRqCYZRSCtmXaRjxR4uTmkBdoAo2Up8+t9pSryfuUy4FzZyPFmo2YX6PQGpI9KMmS15kEKc2FnpzAFTIUzhh3HgAh6LoxJKBr5LFaLATmk03kFf8EIgWGcwyg7QyNzsF5qNHIBpR/OzIHRm6HtNWWqSS/5uwvJydHkGZD5vLIiS5UX8vYgfdCKpk8klBUzjOEtq7Rz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ae8icTwLNU6lg8gVmFNKm6OnUSvFzPnaF9c2nchE2NCOPZY/qlcvJpAKwtfX3H3/+89fvsH9wdHzwfO/kYH9rawIvqcRsHiORDNU4l+bjqXYzyuX+W7TceoIuSmEM70J8moJalz6FwlNBXdOxZh4LeuMC1xgPFh1r71Jsr6fhcnV4uS/a/0PR7soC0wXvNAa1HTzAJvW/78TT6z+9cccKoEZqMqjvZyMlMpcll5cS1HfeLBYynEqZ6DvXQZCsKtQX2fBNyvBG9z7RfK0fzNC0MjM+mN8e5I3V+AbjfaFfmT2TD16L3TsG6sFxV/Ufwt266EZ8/bcHdj6E1+MeZHtxJl8HEObkI+A0YS/LqBl6tnYhEU+XbebFwYlaLP4FqUYCjg==
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get a paginated list of rows from a dataset."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/datasetio/iterrows/{dataset_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Get a paginated list of rows from a dataset.
|
||||
Uses offset-based pagination where:
|
||||
- start_index: The starting index (0-based). If None, starts from beginning.
|
||||
- limit: Number of items to return. If None or -1, returns all items.
|
||||
|
||||
The response includes:
|
||||
- data: List of items for the current page.
|
||||
- has_more: Whether there are more items available after this set.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"dataset_id","in":"path","description":"The ID of the dataset to get the rows from.","required":true,"schema":{"type":"string"}},{"name":"start_index","in":"query","description":"Index into dataset for the first row to get. Get all rows if None.","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of rows to get.","required":false,"schema":{"type":"integer"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A PaginatedResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The list of items for the current page"},"has_more":{"type":"boolean","description":"Whether there are more items available after this set"},"url":{"type":"string","description":"The URL for accessing this list"}},"additionalProperties":false,"required":["data","has_more"],"title":"PaginatedResponse","description":"A generic paginated response that follows a simple format."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/get-all-training-jobs.api.mdx
Normal file
72
docs/docs/api-deprecated/get-all-training-jobs.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: get-all-training-jobs
|
||||
title: "Get all training jobs."
|
||||
description: "Get all training jobs."
|
||||
sidebar_label: "Get all training jobs."
|
||||
hide_title: true
|
||||
hide_table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HGxW6ZspDbDQEr3M2C9uPApsqsztXONuxl0RoerHeC03P9TdloqVtfKtUeTtQeTnpCOnJ24eC6AJ2OZqTpdF2YP/lssuNSJZZvwYab+G/GkhIFak5z7yifRdh6IWRqn6Mpujr5KBkwts8YnsEm7vhx2n7dWniKlnLnFJnOojKQuBXH584neh8INCfG2Tqrd8lRyIOzeBZ3dv7+489//vodDg6Pjg9f7Y8PD3Z2RvCWZmgXbSe6QBUuVINMVZqT02vAtJGGCfou5QF8UML1tuFn3LWCaUq99mJYtFzr7Cts99eIFX0NsVsNX97s1l+26HcXoSsZ1gF91IgtTMuev9NulrcINIVpGTwvjHKmi5bLCWb6wGG10q8/NcSLjvN2T50oTafnq8KUhI64Ze8jLVSI1lKtvM8xNO0fNNsni4J5rY3Xh2OzWv0Lc2BthQ==
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get all training jobs."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/post-training/jobs"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Get all training jobs.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A ListPostTrainingJobsResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"job_uuid":{"type":"string"}},"additionalProperties":false,"required":["job_uuid"],"title":"PostTrainingJob"}}},"additionalProperties":false,"required":["data"],"title":"ListPostTrainingJobsResponse"}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
73
docs/docs/api-deprecated/get-chat-completion.api.mdx
Normal file
73
docs/docs/api-deprecated/get-chat-completion.api.mdx
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/get-the-result-of-a-job.api.mdx
Normal file
72
docs/docs/api-deprecated/get-the-result-of-a-job.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: get-the-result-of-a-job
|
||||
title: "Get the result of a job."
|
||||
description: "Get the result of a job."
|
||||
sidebar_label: "Get the result of a job."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFuGzcQ/ZUBT4khS06QII1ubuymARLEkJ1DYRvBiDvapcMlN0OubEHQN/TeUz+j39Mf6C8Uw11Ja1k27CCHprAvXnF3yJk37w05nCumUHkXKKjhXD3f25N/GQXNporGOzVUJwUBU6htBD+BWBBc+HFf9ZT2LpKLYoFVZY1GsRhcBDGbq6ALKlGe4qwiNVR+fEE6qp6q2FfE0TSL5uSIk2nofIzMOFM9ZSKVYdskmGVGjNAe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YvfHBQa/GuWjBcxVsPBAN1st/AhUrZrLZa4GyLqL33tSyWeBdI1mzhLhgfLOnl6Lu9EOSmgllTvxR6OxR6OW/00OdmFg1WEwl2RgrjTgDp9tgVnKUDhmhSxWxy6a8UCI1TspyajcOZg4w8hUOIjuazyxsUA6NIJzDBoz426MrnwkMLLE9QUmkmR6cyJQjyn0nFz8rF0S5amxJgvvfrgM7Khf+bO3M7O33/8+c9fv8PB4dHo8M3+yeHBzs4Q3lOOepaQaBYqcSYViqn0U8qkSZrUsWaCFqXQh0+if+nFTN5cjgDThNrK5Owsqb7yIZaYdp+W1HfI8hrk8/VudpdNS95IV3FQWTRyS9YQat6S9LTJp9BU9dYil5QPNyQvXJXhlfBaup73lFBS5prPxxjoE9vFQoa/1sTCxfOeSpvTWIh3OleZCfKcrarvrbE9GbXCfArfUle2xr+8AHRyQdtc3Q2V6qkvNNusc1JuvoOzd1Web3CxTUC6qSwIM+KEavNyX2uqYsfsxllHisGqYL09PFGLxb+pbpGR
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get the result of a job."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/eval/benchmarks/{benchmark_id}/jobs/{job_id}/result"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Get the result of a job.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to run the evaluation on.","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","description":"The ID of the job to get the result of.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"The result of the job.","content":{"application/json":{"schema":{"type":"object","properties":{"generations":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The generations from the evaluation."},"scores":{"type":"object","additionalProperties":{"type":"object","properties":{"score_rows":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The scoring result for each row. Each row is a map of column name to value."},"aggregated_results":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"Map of metric name to aggregated value"}},"additionalProperties":false,"required":["score_rows","aggregated_results"],"title":"ScoringResult","description":"A scoring result for a single row."},"description":"The scores from the evaluation."}},"additionalProperties":false,"required":["generations","scores"],"title":"EvaluateResponse","description":"The response from an evaluation."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/get-the-status-of-a-job.api.mdx
Normal file
72
docs/docs/api-deprecated/get-the-status-of-a-job.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: get-the-status-of-a-job
|
||||
title: "Get the status of a job."
|
||||
description: "Get the status of a job."
|
||||
sidebar_label: "Get the status of a job."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV0tu3DgQvUqBq8SQu50gQZLeeWJPJoMEMfxZDGwjKJHVEm2KVEiq7UZDZ5j9rOYYc565wFxhUJT6427bcYJsAtgbqyWR9erVe0XVTHgKtbOBghjNxPOdHf6nKEiv66idFSNxXBKEiLEJ4MYQSwKaoGmQH8OFywciE9LZSDbyYqxro2V6OrwIvMNMBFlShXwVpzWJkXD5BckoMlF7V5OPuot/4fLPWq28F6LXthDZGqQTq780BFqRjXqsycPY+QTtwuWizUSH97aNyDaVGJ0K6araUCQlMqHt59q7wlMIIhNj1CbdZtSq6a4lWkmGr8/XwbxtvCcbga5JNomUm2wlSG0mUCnNj9EcrCQ9RhMoE56+NNqTYmg9C4sszjMRdTScxu8u3yBjlyOsRNc2REYLVzqWcyzRo7zUthiItmUwL+6qNAOhEOEKA2g7QaMVOA8VmrHzVcfFjyn2Ro20jVSQ30jwt+Pjg3ke0iniAveEfE0o+96zMPjlDBBC6XyE0FQV+ulCzemdq1LLEnSXtNdoY9IU2v55itPy/hG1eWjk7m0ObZwtyEPZVGi3PaHC3BCsrLkBhyPN6/j1WE8+1Z2wnsIunBx+6JORaCEnaAIpiA48Ra9pQlA5T6At17MzMeauiSl4qEnqsZbgpEyylrSG61uE3Fd4Xq0FeSuCTjTdQd68NcHYuyph2D14P4BD1xSlmcLYGeOuAhz++hZevd55NWDS6BrZ16v6erGzs4z3Cyo47CS+xPNA5ffOef7mdudIo7kNlBgg8EV0Diq00/nGvCsgFHpCFrByjY2JW13Ro6keTfWTmer5m2W8Y+fgIyu9d1ZYtdYfroESJwR0LYkU08Zmw0hgdKXjAA4MYSCIfgpYoLZgMJKfn1Qv7/wmIT8hD2QlW4k8KRZWY+m6JhlJ9eQ+WuvRWj+VtV6unlfvWdkWDRx1al/G7+21uyn5ORlqAJ8aD5GwSqdSTmTBuvTFrOb2UjTGxsRNi9238aOpHk31c5lq57ZoD7BQcglLDYvA2exP0GyOgO+oZ24x+OF8Mq7RY0WRPC+fCYsVY8jJyrJCf9kNepo3qTGWGyTwQfd+b07/YlkqZWPXp3FnOeSS/egbyja92CuobbMFoMXM+VAoPHNGB8V65t8GIDFZe5IYl69XFEunxEgUlBoGgxmJ4eTZkFMdLkgIw9kqj+3wwuVhOOtSaXl+Tj2zI77xXOoyxno0HKKdbpcuRFLbxmCF2yGivBxIVwmGFEg2XsdpWrg3b5Cn5/yMLZMy6dX0gdfDEa+Ho944XTG2YW+RGouWPcBwOjYnz24hmDtPuOFBXO0Kq7FiiRFq7yZaUTizsPaHECiNF2RV7bSNAdCmTy/tQTrf2UppWwB3XD9GSaHbFD2dWbaG86lnbG6e85hkaEIeizmqj06RCYMze2a3tv796+///vkT9vYPDvff7h7v721tjeADFSiniYkuUIVTbk2eKjchxdPRuImNJ+hZCgM4YePzEKYL31HhaUx9S7JmmuxeuxArTMdOr+Z7/HiD8tnyGLtvTa/aSNdxWBvUlqMmQc16dZ529WR9imzpbi75aM3rLFK+3TvuPBOsRN5iNssx0Ik3bcu3vzTkWYLnmUiHUc56O50JpQNfq0W3vTOlJ4e9EZ/C9/SRW9Pub6KdspzRNPxLZOKSput9jdvLDwB7X6f5Dog97+15m4mSUJFPrHYPd6WkOq4s2/i24R6waFDv9o9F2/4PhdlmYQ==
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get the status of a job."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/eval/benchmarks/{benchmark_id}/jobs/{job_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Get the status of a job.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to run the evaluation on.","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","description":"The ID of the job to get the status of.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"The status of the evaluation job.","content":{"application/json":{"schema":{"type":"object","properties":{"job_id":{"type":"string","description":"Unique identifier for the job"},"status":{"type":"string","enum":["completed","in_progress","failed","scheduled","cancelled"],"description":"Current execution status of the job"}},"additionalProperties":false,"required":["job_id","status"],"title":"Job","description":"A job execution instance with status tracking."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
23
docs/docs/api-deprecated/inference.tag.mdx
Normal file
23
docs/docs/api-deprecated/inference.tag.mdx
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
id: inference
|
||||
title: "Inference"
|
||||
description: "Inference"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
Llama Stack Inference API for generating completions, chat completions, and embeddings.
|
||||
|
||||
This API provides the raw interface to the underlying models. Two kinds of models are supported:
|
||||
- LLM models: these models generate "raw" and "chat" (conversational) completions.
|
||||
- Embedding models: these models generate embeddings to be used for semantic search.
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
72
docs/docs/api-deprecated/list-all-agents.api.mdx
Normal file
72
docs/docs/api-deprecated/list-all-agents.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: list-all-agents
|
||||
title: "List all agents."
|
||||
description: "List all agents."
|
||||
sidebar_label: "List all agents."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFuGzcQ/ZUBT60hy06QoI1uauy2ARzEcBwUhW0EI+7sLhMuuRlyFQuGvqH3nvoZ/Z7+QH+hGHIlrS0lcYBeAtgXW+vhzJvH90jN3iim0HoXKKjJjXp8eCi/CgqaTRuNd2qipnCKlXEYqTjrg8dqpLR3kVyUeGxbazRK/MG7IItuVNA1NSh/xUVLaqL87B3pqEaqZd8SR5NLFhiHUciMCzVSJlITdq3GojBSCO3prTze0atSTS7WK1xnrVqO1p9n3ltCN3zkumZGPHwSIhtXDZ9kQIMHPZLl1XI5usPUeU1gTYjgS0gNQOkZYk2gO2ZyEVqsSC1HqsbwtvFMgw5X+O4m/a2mWFNKwwTIBLKwz49zNBZnlgDLmIJMgEB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fGaoXqpS/IhvGlu3R7e//8+de/f/8BR8enZ8fPp+fHR3t7EzihCvUiMZELNbiQA4ap8XMqZMYpu9gxQc9SGMObkF4/QGMqzlQwldQfLM4ukmlbH2KD6fLoFbrDU7eovtlcQrtiewFGuo4HrUXjBu95ss4u8v7h2tOiJnl8czPDQG/YLpfyOLtDZFSYIEf2Ru+fBHR/++7E+Z4WW4fFHG0nkekF29ch+byLP4NgdUpsal/JBzZSPLlppGrCgjjxkxdNtaZ2uGrrG4JkWVv/l+NztVz+ByRJdLg=
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"List all agents."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/agents"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
List all agents.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"start_index","in":"query","description":"The index to start the pagination from.","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of agents to return.","required":false,"schema":{"type":"integer"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A PaginatedResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The list of items for the current page"},"has_more":{"type":"boolean","description":"Whether there are more items available after this set"},"url":{"type":"string","description":"The URL for accessing this list"}},"additionalProperties":false,"required":["data","has_more"],"title":"PaginatedResponse","description":"A generic paginated response that follows a simple format."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/list-all-benchmarks.api.mdx
Normal file
72
docs/docs/api-deprecated/list-all-benchmarks.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: list-all-benchmarks
|
||||
title: "List all benchmarks."
|
||||
description: "List all benchmarks."
|
||||
sidebar_label: "List all benchmarks."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztmM1uGzcQx19lwFNrrGUnSNBGNyd22wAJYjjOobANY8Sd1TLmkpshV/FC0DP03lMfo8/TF+grFMNdSStZThyglwD2RTLF4Xzw959dcq6YQu1doKDGc/X08FA+cgqaTR2Nd2qsjuCNCfElOV1WyDfhrLcYqUxp7yK5KEZY19ZoFKODj0Es5yrokiqUb7GtSY2Vn3wkHVWmavY1cTSd3xzjcBYyY6syZSJV4evWJicXTWGIB3NDZOOmapEmz0xOfM0UfMOark3+5Yn3/N4NbP+QKXJNpcYXqvI5WZWpUBqyucrUjHT0fB2iZ1JZyjKQxB+0F9vronE6VT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831qscD9E1Dcj7Su1uBI73bCJbTI8Xor+4kp+EwwSYMuTo9jDe7GH9z0MHST7cLyKXjYipEsgDl0BZk923MmImsIGVzgkfegrlhihP4+HSwdbfwhy8eILIJfX3rgYAF16nTAM2nOHSi6HaekiXKCm0C2KTJdOtttz0sHdxSfy6m9pRozTZVRv5UgeRpfu0u3t/fPnX//+/Qccn5yenbw6Oj853tsbwxuaom5TJTpHFbYiN6bKzyiXN/6iiQ0T9FUKI/jQXxtVZspdKZgK6mXmbJsQrn2IFaZW6rCi++naKPd83Zbvm983kUi38aC2aNK1UAJp3oN30e2joDe8tkvAC2AyYz6fYKAPbBcLGf7UELcd3alvTgSjC7nHKQlzuba8mKsbakVsWlMtlMvNR7oG2n56CJErRfx6cq4Wi/8AmjuiAw==
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"List all benchmarks."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/eval/benchmarks"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
List all benchmarks.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A ListBenchmarksResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"identifier":{"type":"string"},"provider_resource_id":{"type":"string"},"provider_id":{"type":"string"},"type":{"type":"string","enum":["model","shield","vector_store","dataset","scoring_function","benchmark","tool","tool_group","prompt"],"const":"benchmark","default":"benchmark","description":"The resource type, always benchmark"},"dataset_id":{"type":"string","description":"Identifier of the dataset to use for the benchmark evaluation"},"scoring_functions":{"type":"array","items":{"type":"string"},"description":"List of scoring function identifiers to apply during evaluation"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"Metadata for this evaluation task"}},"additionalProperties":false,"required":["identifier","provider_id","type","dataset_id","scoring_functions","metadata"],"title":"Benchmark","description":"A benchmark resource for evaluating model performance."}}},"additionalProperties":false,"required":["data"],"title":"ListBenchmarksResponse"}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/list-all-datasets.api.mdx
Normal file
72
docs/docs/api-deprecated/list-all-datasets.api.mdx
Normal file
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/list-all-responses.api.mdx
Normal file
72
docs/docs/api-deprecated/list-all-responses.api.mdx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: list-all-session-s-of-a-given-agent
|
||||
title: "List all session(s) of a given agent."
|
||||
description: "List all session(s) of a given agent."
|
||||
sidebar_label: "List all session(s) of a given agent."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFuGzcQ/ZUBT4khS06QoI1uauy2ARzEUBwUhW0Eo93RLhMuuRlyFQuCvqH3nvoZ/Z7+QH+hGHJXWltKYgO9BLAvtnfJmTcz7w13uFJMvnbWk1fjlXp6dCS/cvIZ6zpoZ9VYTeAMC20xUD5tFw/VQGXOBrJB1mNdG52hrB998LJppXxWUoXyV1jWpMbKzT5QFtRA1exq4qCTyxxDfxUy41INlA5U+X27Mc+1OEJzdsOOs/RmrsYXmx22MUatB5v/Z84ZQtt/ZJtqRtx/4gNrW/SfJEC9By2S9dV6PbiVqfOSwGgfwM0hBgBzxxBKgqxhJhugxoLUeqBK9O8rx9SLsMN32+hvJYWSohkmQCaQja19XKA2ODMEOA9xkfbgKYiPhk3PfBvZPsjvpqcRKGYZea9tkcxIJEqC3J/yORpPA8X0qdFMuRpfpFr2grsaqKCDEfc7FNpBMoGCLLHOJElpLXTkhFBigLkzxn32gOB1VRsS0BWGoVqvBeazfeSV+AQi+QCf0YO2CzQ6B8dQoREDlP9/ZPYBQ9OnrbaBCuKdYH89Pz+DtBoyl0dOtKn6VsVOmIVUsnggqSgdB/BNVSEvhXhCN4prPpc6K0GnoFmjDanMtn0f/UQSB9R34ErynFaLa+NsQQxlU6E9ZMI8ErG35wYc8aStD2izO0T56E2dKPcYJpGgKZgMLcwIGk85BAdMgTUtOknYRAjxjDPXhOjc15Tpuc7AZUmFGd3CdR+KtxXuqrVJXo/qMU1fSN6G0HN2VcQwOXs1hKlritIsNwyf/vwSfvjx6IehJI2uUdje59ezo6Otv58wh2mi+BbPHZnfKufpi/3KyYyWrlWiNBUbIDgHFdplZ1isAkKhF2QBK9fY2PuCruhBVA+i+s5E9fTF1t+5c/BamN4qy/el9btroMQFAV1nRLmkTcSGQY7/SochnBlCObZ4CVigtmAwEHcn1fMvnVSeeEEMZDOREjHlQqzG0nVNmRyI1KbhQVoP0vqOpPW8f169EmZbNPA2sX3rv5XXZJfyXTLyIbxpGAJhFU+lGZEF64Kea8o7eeU0x8aEPZPMVww/iOpBVN+XqI72ebuDhKJKhGpYeIlmUpANXsDfBHsqkywaA16mQmcf+ceSs83nnmyTi4AaGSsKxD6O3xarODfL6/dadKXFWo2h3Dt9vjruKhG3SEXjDN16jTO0uNkWIHBDg105drO7zOotCB+Qw3ttc7rucHxqiJd7gcRl4j7uiojaSVS4JLW6CaMlxg6OTu59IPGz4NsQ0oWE5GMTfSJ4w/a+zmM9a6ZMJukuaRWF0uVqrAqKjUuKMlajxZNRTL4frbq6rUcdBDVQ6bsk1TdeK6gyhHo8GqFdHpbOB8oPjcEKD33A7OMwc5USAJ6yhnVYxo3HXVu+uJJ3ItQIvOXwqeyHt7If3rZyTak/hONNICIVQSRwUt4WT/akUvqdv6F87Peivq94tVCzW+ic/KWFWz8o1ymyj2xeO22DB7Txg08zZI6TmHO5NZHc8xwz8skoMl1aEaTj2Kl2jc9kODO0IMaiQ/Xa5WT88NJe2oODf/7869+//4Djk7PpycvJ+cnxwcEYTqnAbBkzkRxVuJSGyFS5BeUyk82b0DBBmyU/hHc+XpdApQtOqWCaU9sIrVnGJlM7HyqMh13L27v2gBv5X21P0jsbaOkb6DqMaoPa9m6wEksvUqUTT9VAjXsdZkPVq4ESOsrq1WqGnt6xWa/lcRKd8DDXXs6orYi+CP7uXWEv/I+03OlBCzSNrIw3ivdD8q3m8BUMXfvZer+Sf1iL+3sm5dG0bUKP4T7tey+67o7VLvvgOtSbAq+v5MqUMCeOYNPrSZZR3Y9q56NNotx0vF9OztV6/R+4sv74
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"List all session(s) of a given agent."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/agents/{agent_id}/sessions"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
List all session(s) of a given agent.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"agent_id","in":"path","description":"The ID of the agent to list sessions for.","required":true,"schema":{"type":"string"}},{"name":"start_index","in":"query","description":"The index to start the pagination from.","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of sessions to return.","required":false,"schema":{"type":"integer"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A PaginatedResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The list of items for the current page"},"has_more":{"type":"boolean","description":"Whether there are more items available after this set"},"url":{"type":"string","description":"The URL for accessing this list"}},"additionalProperties":false,"required":["data","has_more"],"title":"PaginatedResponse","description":"A generic paginated response that follows a simple format."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/list-chat-completions.api.mdx
Normal file
72
docs/docs/api-deprecated/list-chat-completions.api.mdx
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
73
docs/docs/api-deprecated/list-files.api.mdx
Normal file
73
docs/docs/api-deprecated/list-files.api.mdx
Normal file
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/list-input-items.api.mdx
Normal file
72
docs/docs/api-deprecated/list-input-items.api.mdx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: list-models-using-the-open-ai-api
|
||||
title: "List models using the OpenAI API."
|
||||
description: "List models using the OpenAI API."
|
||||
sidebar_label: "List models using the OpenAI API."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFu20YQ/ZXBnlqDlp0gQRLd3NhtAziI4SiHwjaK0XIkbkLuMrND2YSgb+i9p35Gv6c/0F8oZpeyZctpHaCXANZFFLkz82bmvV2OloYptsFHima8NE/39/WrpGjZteKCN2NzAO9a8gdvjl2Ut6GkOp4ONiNTGBu8kBc1w7atnUU12/sY1XZpoq2oQb2SviUzNmH6kayYwrQcWmJxOXKJsrkKmbE3hXFCTfxva1durInCzs/Nqliv3nqUUEcxY9NoPqYwJc2wq2/urApjmVBo07HzQnPi5PnSU/nrtL8n7KowWJZOq4D1yQbMGdaRCsP0uXOsjs8Ud3GT0zrihvuLwoiTWv3nJry9Bny7RQk2zDg0Q7dGZvVVUFIDtsJt91zdrgrz7D6mTCoC9UlR4BIjOL/A2pUQGBqsZ4GblN3/RJkoKF28pz93q/PzZHICeTXYUJI2cEhzmxm3TY+YA0NaXABCrAILxK5pkHsIM5CKgNKay8rZClxO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
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"List models using the OpenAI API."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/openai/v1/models"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
List models using the OpenAI API.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A OpenAIListModelsResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"model","default":"model"},"created":{"type":"integer"},"owned_by":{"type":"string"}},"additionalProperties":false,"required":["id","object","created","owned_by"],"title":"OpenAIModel","description":"A model from OpenAI."}}},"additionalProperties":false,"required":["data"],"title":"OpenAIListModelsResponse"}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
id: llama-stack-specification-deprecated-apis
|
||||
title: "Llama Stack Specification - Deprecated APIs"
|
||||
description: "This is the specification of the Llama Stack that provides"
|
||||
sidebar_label: Introduction
|
||||
sidebar_position: 0
|
||||
hide_title: true
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import ApiLogo from "@theme/ApiLogo";
|
||||
import Heading from "@theme/Heading";
|
||||
import SchemaTabs from "@theme/SchemaTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Export from "@theme/ApiExplorer/Export";
|
||||
|
||||
<span
|
||||
className={"theme-doc-version-badge badge badge--secondary"}
|
||||
children={"Version: v1"}
|
||||
>
|
||||
</span>
|
||||
|
||||
<Export
|
||||
url={"https://raw.githubusercontent.com/meta-llama/llama-stack/main/docs/static/deprecated-llama-stack-spec.yaml"}
|
||||
proxy={undefined}
|
||||
>
|
||||
|
||||
</Export>
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Llama Stack Specification - Deprecated APIs"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
|
||||
|
||||
This is the specification of the Llama Stack that provides
|
||||
a set of endpoints and their corresponding interfaces that are
|
||||
tailored to
|
||||
best leverage Llama Models.
|
||||
|
||||
**⚠️ DEPRECATED**: Legacy APIs that may be removed in future versions. Use for migration reference only.
|
||||
19
docs/docs/api-deprecated/models.tag.mdx
Normal file
19
docs/docs/api-deprecated/models.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: models
|
||||
title: "Models"
|
||||
description: "Models"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
19
docs/docs/api-deprecated/post-training-coming-soon.tag.mdx
Normal file
19
docs/docs/api-deprecated/post-training-coming-soon.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: post-training-coming-soon
|
||||
title: "PostTraining (Coming Soon)"
|
||||
description: "PostTraining (Coming Soon)"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
72
docs/docs/api-deprecated/register-a-benchmark.api.mdx
Normal file
72
docs/docs/api-deprecated/register-a-benchmark.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: register-a-benchmark
|
||||
title: "Register a benchmark."
|
||||
description: "Register a benchmark."
|
||||
sidebar_label: "Register a benchmark."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1u20YQfpXBnlpDlp0gQRrdnNhFgyawIduHwjaC0XIobrLcZWaXsgVBz9B7T32MPk9foK9QzJKUKFt23aaXANbBppY7PzvzffORWiimUHkXKKjRQj3f35d/GQXNporGOzVSxz+r5UC92HbrrCBg+lJTiHCNAYyboTUZeIYSbe65pEwNlPYukotij1VljUax3/sUxMlCBV1QiXIV5xWpkfKTT6SjGqiKfUUcTZNdiBjr0NtnXKQpsRrcSuuns7MTaHaD9hlJ/tFESz3bENm46R3TI2bPkDYPACEUniOEuiyR5+BziAUBpT3XhdEFmObQbNBFyD0DuvZ+irMU/xGNfWzkZreEtt5NiaGoS3S7TJjhxBL0bDbSkUjGhYhOP+KU3x2nK7TfwwGcj9+3h9HoYEJQB8ogemCKbGhGUH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Q17HmgnaKoUhnLfUKs2Um1Iw5dQqvbPzZk75EEtMGuSwpAcEbqPePUG716CdBZFu4l5l0chYaYC/aIly0XRSqKIGarKhukII2bFYTDDQOdvlUpa/1MTzRmHTw9tEgHQhc6YgzIgTST7TXI3U2ybD3TPJQ7bbOg2r2/Irc6uxONCaqvjg3qse6U+OT88k71biS3lgHSnGazVIf0dKDZSvVpKX1hbKopvWOJW9jU/5/A1qqKOz
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Register a benchmark."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/eval/benchmarks"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Register a benchmark.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"benchmark_id":{"type":"string","description":"The ID of the benchmark to register."},"dataset_id":{"type":"string","description":"The ID of the dataset to use for the benchmark."},"scoring_functions":{"type":"array","items":{"type":"string"},"description":"The scoring functions to use for the benchmark."},"provider_benchmark_id":{"type":"string","description":"The ID of the provider benchmark to use for the benchmark."},"provider_id":{"type":"string","description":"The ID of the provider to use for the benchmark."},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"The metadata to use for the benchmark."}},"additionalProperties":false,"required":["benchmark_id","dataset_id","scoring_functions"],"title":"RegisterBenchmarkRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/register-a-new-dataset.api.mdx
Normal file
72
docs/docs/api-deprecated/register-a-new-dataset.api.mdx
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
73
docs/docs/api-deprecated/retrieve-file-content.api.mdx
Normal file
73
docs/docs/api-deprecated/retrieve-file-content.api.mdx
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
---
|
||||
id: retrieve-file-content
|
||||
title: "Retrieve file content."
|
||||
description: "Retrieve file content."
|
||||
sidebar_label: "Retrieve file content."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV8FuGzcQ/ZUBT4mxlpwgQRLd3NhpAySIoTiHwjaKETnSMuGSmyFXtiDsN/TeUz+j39Mf6C8Uw921FMsuXLSXAPbF1JKcefP4Hmd3rZhiHXykqCZr9fTgQP4ZipptnWzwaqJOSwLGS5hbR6CD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QfutG6sX4BcgzxHTbELikznXvQaOBt5N/hMvl0cLYlxMaB6Hwy5ODr3535v78/ffv/rj1/h6Phkevz68PT4aG9vAu9ogXqVmegSVbiS+4KpCksy8skyb1LDBD1LcQSfellVdsEdFUxz6u8J71bZg3WIqcLcC3od3+6Rm4SvN53lf3JVr+lEV2lcO7Re4GXlrXvtnnUH36lXBCG/soJVoSYb/w3ILgolQpWN6/UMI31i17by+GtDLAq9KFRuIDOR49laGRtlbK5vyDtrfjTtzfkY/p2pby2zf4h+JWWha+SXKtQXWm3dLO1FW6iS0BBntN3sodZUp619O31erHd9Gfx4fKra9m8/Lp3n
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Retrieve file content."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/openai/v1/files/{file_id}/content"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Retrieve file content.
|
||||
Returns the contents of the specified file.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"file_id","in":"path","description":"The ID of the file to use for this request.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"The raw file content as a binary response.","content":{"application/json":{"schema":{"type":"object","title":"Response"}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
73
docs/docs/api-deprecated/retrieve-file.api.mdx
Normal file
73
docs/docs/api-deprecated/retrieve-file.api.mdx
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
---
|
||||
id: retrieve-file
|
||||
title: "Retrieve file."
|
||||
description: "Retrieve file."
|
||||
sidebar_label: "Retrieve file."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1uGzcQfpUBT4mxlpwgQRrd1NhpDSSwodiHwjKCETnSMuGSG5IrWxH2GXrvqY/R5+kL9BWK4e7qx5JRB20PAeyLV7uz83E+ft9wyaXwFEpnAwUxWIrnR0f8T1GQXpdROysGYmjhrCQ7PH2rDZ1NPpGMIJ2NqK22M5hqQ6Dt1PkC+Y2eyAQ/Jhs5F5al0TI96X8KnHApgsypQL6Ki5LEQLiUVWSi9K4kH3UznPb2Oi5Er+2sAQhRDASDi0wommJltm5sVnCREzS5gBNlcJNrmYMOgOYGFwHG6b2xEHUmtNoHuJuwqVuRjXqqyXdJJVqYEHiakicrSYG2EHOC4fkpkFWl0zYGBposYlNmi6VtpBn5vWBBfyVw05SIgTPO2iSoMyE9YST1EeMD011afQtRFxQiFiU80RYCSWdVeApT5+EmJ7vCghsM0EIwGt2W2lP4v9Da9IzEvy0W9LAJ4chNjjhDWfnShb0JyFaFGFwJDEGHiDwpmZhglL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//9cevcHxyPjp5M7w4OT44GMA7mqFcJCYaoAIXzbFW4ebNqcG0ipUnaFkKPbhs5VTomW+oWB2CgbNmkSxXuhALTK2/1e+2Je4SvVwvIP/OPK10I93GfmlQWx5NEtqylehVM8+NSHn+n7VnLyyGQWez60ywGjl8uZxgoEtv6ppvf6nIswyvM5EWhQlr7moplA58rVZd794Cn4xa5z2Fb3Ps3uLam2gXXAyain+JTHymxUbbqK/rTOSEinwabfN0KCWVceO9nbWb/bVy+k8nF6Ku/wYZzsO3
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Retrieve file."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/openai/v1/files/{file_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Retrieve file.
|
||||
Returns information about a specific file.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"file_id","in":"path","description":"The ID of the file to use for this request.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"An OpenAIFileObject containing file information.","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"file","default":"file","description":"The object type, which is always \"file\""},"id":{"type":"string","description":"The file identifier, which can be referenced in the API endpoints"},"bytes":{"type":"integer","description":"The size of the file, in bytes"},"created_at":{"type":"integer","description":"The Unix timestamp (in seconds) for when the file was created"},"expires_at":{"type":"integer","description":"The Unix timestamp (in seconds) for when the file expires"},"filename":{"type":"string","description":"The name of the file"},"purpose":{"type":"string","enum":["assistants","batch"],"description":"The intended purpose of the file"}},"additionalProperties":false,"required":["object","id","bytes","created_at","expires_at","filename","purpose"],"title":"OpenAIFileObject","description":"OpenAI File object as defined in the OpenAI Files API."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/retrieves-a-vector-store.api.mdx
Normal file
72
docs/docs/api-deprecated/retrieves-a-vector-store.api.mdx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: retrieves-the-contents-of-a-vector-store-file
|
||||
title: "Retrieves the contents of a vector store file."
|
||||
description: "Retrieves the contents of a vector store file."
|
||||
sidebar_label: "Retrieves the contents of a vector store file."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWE1uGzcUvsoDV4khS06QII12buy0RpPa8E+BwjaCJ86ThgmHnDxyZAuCztB9Vz1Gz9ML9ArF48xYI0tubCSbAPbGoyH5fr/v45BzxRRK7wIFNZyr5zs78i+joNmU0XinhmoXrAkR/BgOXCS2hFPK3ngXyUVgKpkC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nk7R4USiwRqOEkSDb1We3gUMK/fSqrKxvudwzrqRIZC4rEId1n1Dcpqp76IU2tT5JGrJcY843H8IO9tjcrTsQ/Grdym9Rpv/hfNilyRb11yra3JHIr0kS3PN/eN6qv85yqXDJpuVlppxcUc5+poZpQEhQJYqgG02cDX5JDI0/dMobB/FZVFwMJKwzmTT6Lgb65aqg/K+qeVCz4yGMsh4MButl27kOkbNtaLHA7RNSf+toXSuIMpCs2cZYW7rWqen4pY8KzlF4DwXeyHk5kPZw0bKtZuA17N/kK0oU4Ek5d2umzDdUWuQorxMWulHR9xRwjlOynJqNw4eDWH0KgdCYhl5XeCHzRpe81w6A911zMBFQi0zxGneCOEZDpQhBnPSehWTc+krOVpSkxTtqo3vuMbOhfuAu3tfXPn3/9+/cfsLd/dLz/Zvd0f29rawjvaIJ6lipROypwJnrGVPgpZXKkGlexYoF/qlLow5mohZzczITrUjCNqdExZ2dJI0ofYoFpr2qw/WACrzRivtwRH26pgb1chQ1Ki0auL2vwzRt4n9e9rwEumHiWgNEBueqp4bp4JJzL0JK5nRsogbPYns9HGOiM7WIhrz9XxILjy55K2+BIQHs+V5kJ8pzd6PydFXhy3FD8KXydSG2sTHuL6uQONV3FqqFSPfWJZhsUVOTrG0T+jaJr+5AulnPCjDjVth7d1ZrK2Fm39m0lcnIjgD/tn6rF4j8bAZMk
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Retrieves the contents of a vector store file."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/openai/v1/vector_stores/{vector_store_id}/files/{file_id}/content"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Retrieves the contents of a vector store file.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"vector_store_id","in":"path","description":"The ID of the vector store containing the file to retrieve.","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"path","description":"The ID of the file to retrieve.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A list of InterleavedContent representing the file contents.","content":{"application/json":{"schema":{"type":"object","properties":{"file_id":{"type":"string","description":"Unique identifier for the file"},"filename":{"type":"string","description":"Name of the file"},"attributes":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"Key-value attributes associated with the file"},"content":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"text","description":"Content type, currently only \"text\" is supported"},"text":{"type":"string","description":"The actual text content"}},"additionalProperties":false,"required":["type","text"],"title":"VectorStoreContent","description":"Content item from a vector store file or search result."},"description":"List of content items from the file"}},"additionalProperties":false,"required":["file_id","filename","attributes","content"],"title":"VectorStoreFileContentsResponse","description":"Response from retrieving the contents of a vector store file."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: run-preference-optimization-of-a-model
|
||||
title: "Run preference optimization of a model."
|
||||
description: "Run preference optimization of a model."
|
||||
sidebar_label: "Run preference optimization of a model."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWkluHMkVvcpHriShSBblHty1Y5OSLUNqFjigYVBE4Vfkz8wQMyNSMRRZTdQZvPfKx/B5fAFfwfiRY40kBXohgFywiKyIP78/Je8jQ7bUypKNRvfR2+GQP2KywsjSSa2iUXQEY23dhUGppEr/pqf70SASWjlSjk9jWeZSIJ8++GL5yn1kRUYF8l9uXlI0ivT0CwkXDaLS6JKMkxXDL3o68V7GvZPWGanSaLEYRBjHksliPu7dSjC3NIgMffXSUByNrjoy14PISZcznRWho8WCSf6wScOLjIDJkXVwixakmmEuY9AGCswTbQqKn09n69B52zsnlaOUTDRYEeuvFxdjqE6D0DFFi1a7VWutXn1njDYQDg8AwWbaOLC+KNDMQSfgMgIKZ24zKTKQldJGonKQaAOo6u8DnwXTdyjzx3KuTjPrXKuUDGS+QLVnCGOc5gS9O0viMCeprEMlHqHlq9OyCo/XcASXZx9rZQQqmBJ4SzE4DYackTQjKLQhkIr9GTwHONXeBea2JCETKUAL4Y0hJWhFrqeEY+3hxlut8XrRGcy0xXgNJCExuggyHI0/7MOZ9mmWzyHRea5vLZy9P4af/zz8eZ+NRndYlFVkNPH1w3DY8fsVYzirQryT55GRXyPn7S+bkSNyScpBhhYs/+G0hgLVvCHMVAEhlTNSgIX2ygXbyoJeQPUCqu8MVG9/6fhdaA2fONJrZNk+tP6uPWQ4I6A7QRSz2Rhs6AhyWUi3D+Oc0BI4MwdMUS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+9xbjK56FacV4rMOy0FRb0pBX6kgd6K/MnkKhDytGdOyhzlGH6Cbnzvs6+V5W3l/Jv6OjXM/D1IOIsy3fu76do6dLkiwU//urJzKs9f3jJNOXwu+L6lxHGZELmvaF5NIqOKy32Lqp5Z4a5D4BefQnA9bS6cSQElW7n2etebRmfnl9wFqtfNLApolFkkGdX/j2KoirJ8Cgzuq+e3Uc5qtTzhDCKKpr88z91mecP
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Run preference optimization of a model."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/post-training/preference-optimize"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Run preference optimization of a model.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"job_uuid":{"type":"string","description":"The UUID of the job to create."},"finetuned_model":{"type":"string","description":"The model to fine-tune."},"algorithm_config":{"description":"The algorithm configuration.","type":"object","properties":{"beta":{"type":"number","description":"Temperature parameter for the DPO loss"},"loss_type":{"default":"sigmoid","description":"The type of loss function to use for DPO","type":"string","enum":["sigmoid","hinge","ipo","kto_pair"],"title":"DPOLossType"}},"additionalProperties":false,"required":["beta","loss_type"],"title":"DPOAlignmentConfig"},"training_config":{"description":"The training configuration.","type":"object","properties":{"n_epochs":{"type":"integer","description":"Number of training epochs to run"},"max_steps_per_epoch":{"type":"integer","default":1,"description":"Maximum number of steps to run per epoch"},"gradient_accumulation_steps":{"type":"integer","default":1,"description":"Number of steps to accumulate gradients before updating"},"max_validation_steps":{"type":"integer","default":1,"description":"(Optional) Maximum number of validation steps per epoch"},"data_config":{"description":"(Optional) Configuration for data loading and formatting","type":"object","properties":{"dataset_id":{"type":"string","description":"Unique identifier for the training dataset"},"batch_size":{"type":"integer","description":"Number of samples per training batch"},"shuffle":{"type":"boolean","description":"Whether to shuffle the dataset during training"},"data_format":{"description":"Format of the dataset (instruct or dialog)","type":"string","enum":["instruct","dialog"],"title":"DatasetFormat"},"validation_dataset_id":{"type":"string","description":"(Optional) Unique identifier for the validation dataset"},"packed":{"type":"boolean","default":false,"description":"(Optional) Whether to pack multiple samples into a single sequence for efficiency"},"train_on_input":{"type":"boolean","default":false,"description":"(Optional) Whether to compute loss on input tokens as well as output tokens"}},"additionalProperties":false,"required":["dataset_id","batch_size","shuffle","data_format"],"title":"DataConfig"},"optimizer_config":{"description":"(Optional) Configuration for the optimization algorithm","type":"object","properties":{"optimizer_type":{"description":"Type of optimizer to use (adam, adamw, or sgd)","type":"string","enum":["adam","adamw","sgd"],"title":"OptimizerType"},"lr":{"type":"number","description":"Learning rate for the optimizer"},"weight_decay":{"type":"number","description":"Weight decay coefficient for regularization"},"num_warmup_steps":{"type":"integer","description":"Number of steps for learning rate warmup"}},"additionalProperties":false,"required":["optimizer_type","lr","weight_decay","num_warmup_steps"],"title":"OptimizerConfig"},"efficiency_config":{"description":"(Optional) Configuration for memory and compute optimizations","type":"object","properties":{"enable_activation_checkpointing":{"type":"boolean","default":false,"description":"(Optional) Whether to use activation checkpointing to reduce memory usage"},"enable_activation_offloading":{"type":"boolean","default":false,"description":"(Optional) Whether to offload activations to CPU to save GPU memory"},"memory_efficient_fsdp_wrap":{"type":"boolean","default":false,"description":"(Optional) Whether to use memory-efficient FSDP wrapping"},"fsdp_cpu_offload":{"type":"boolean","default":false,"description":"(Optional) Whether to offload FSDP parameters to CPU"}},"additionalProperties":false,"title":"EfficiencyConfig"},"dtype":{"type":"string","default":"bf16","description":"(Optional) Data type for model parameters (bf16, fp16, fp32)"}},"additionalProperties":false,"required":["n_epochs","max_steps_per_epoch","gradient_accumulation_steps"],"title":"TrainingConfig"},"hyperparam_search_config":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"The hyperparam search configuration."},"logger_config":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"The logger configuration."}},"additionalProperties":false,"required":["job_uuid","finetuned_model","algorithm_config","training_config","hyperparam_search_config","logger_config"],"title":"PreferenceOptimizeRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A PostTrainingJob.","content":{"application/json":{"schema":{"type":"object","properties":{"job_uuid":{"type":"string"}},"additionalProperties":false,"required":["job_uuid"],"title":"PostTrainingJob"}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
19
docs/docs/api-deprecated/safety.tag.mdx
Normal file
19
docs/docs/api-deprecated/safety.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: safety
|
||||
title: "Safety"
|
||||
description: "Safety"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
OpenAI-compatible Moderations API.
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
518
docs/docs/api-deprecated/sidebar.ts
Normal file
518
docs/docs/api-deprecated/sidebar.ts
Normal file
|
|
@ -0,0 +1,518 @@
|
|||
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
|
||||
|
||||
const sidebar: SidebarsConfig = {
|
||||
apisidebar: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/llama-stack-specification-deprecated-apis",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Agents",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/agents",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-all-agents",
|
||||
label: "List all agents.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-an-agent-with-the-given-configuration",
|
||||
label: "Create an agent with the given configuration.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/describe-an-agent-by-its-id",
|
||||
label: "Describe an agent by its ID.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/delete-an-agent-by-its-id-and-its-associated-sessions-and-turns",
|
||||
label: "Delete an agent by its ID and its associated sessions and turns.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-a-new-session-for-an-agent",
|
||||
label: "Create a new session for an agent.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieve-an-agent-session-by-its-id",
|
||||
label: "Retrieve an agent session by its ID.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/delete-an-agent-session-by-its-id-and-its-associated-turns",
|
||||
label: "Delete an agent session by its ID and its associated turns.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-a-new-turn-for-an-agent",
|
||||
label: "Create a new turn for an agent.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieve-an-agent-turn-by-its-id",
|
||||
label: "Retrieve an agent turn by its ID.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/resume-an-agent-turn-with-executed-tool-call-responses",
|
||||
label: "Resume an agent turn with executed tool call responses.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieve-an-agent-step-by-its-id",
|
||||
label: "Retrieve an agent step by its ID.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-all-session-s-of-a-given-agent",
|
||||
label: "List all session(s) of a given agent.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-all-responses",
|
||||
label: "List all responses.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-a-model-response",
|
||||
label: "Create a model response.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-a-model-response",
|
||||
label: "Get a model response.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/delete-a-response",
|
||||
label: "Delete a response.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-input-items",
|
||||
label: "List input items.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Benchmarks",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/benchmarks",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-all-benchmarks",
|
||||
label: "List all benchmarks.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/register-a-benchmark",
|
||||
label: "Register a benchmark.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-a-benchmark-by-its-id",
|
||||
label: "Get a benchmark by its ID.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/unregister-a-benchmark",
|
||||
label: "Unregister a benchmark.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "DatasetIO",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/dataset-io",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/append-rows-to-a-dataset",
|
||||
label: "Append rows to a dataset.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-a-paginated-list-of-rows-from-a-dataset",
|
||||
label: "Get a paginated list of rows from a dataset.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Datasets",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/datasets",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-all-datasets",
|
||||
label: "List all datasets.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/register-a-new-dataset",
|
||||
label: "Register a new dataset.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-a-dataset-by-its-id",
|
||||
label: "Get a dataset by its ID.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/unregister-a-dataset-by-its-id",
|
||||
label: "Unregister a dataset by its ID.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Evaluations",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/eval",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/evaluate-a-list-of-rows-on-a-benchmark",
|
||||
label: "Evaluate a list of rows on a benchmark.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/run-an-evaluation-on-a-benchmark",
|
||||
label: "Run an evaluation on a benchmark.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-the-status-of-a-job",
|
||||
label: "Get the status of a job.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/cancel-a-job",
|
||||
label: "Cancel a job.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-the-result-of-a-job",
|
||||
label: "Get the result of a job.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Files",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/files",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-files",
|
||||
label: "List files.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/upload-file",
|
||||
label: "Upload file.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieve-file",
|
||||
label: "Retrieve file.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/delete-file",
|
||||
label: "Delete file.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieve-file-content",
|
||||
label: "Retrieve file content.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Inference",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/inference",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-chat-completions",
|
||||
label: "List chat completions.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-chat-completions",
|
||||
label: "Create chat completions.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-chat-completion",
|
||||
label: "Get chat completion.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-completion",
|
||||
label: "Create completion.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-embeddings",
|
||||
label: "Create embeddings.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Models",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/models",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-models-using-the-open-ai-api",
|
||||
label: "List models using the OpenAI API.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "PostTraining (Coming Soon)",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/post-training-coming-soon",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-the-artifacts-of-a-training-job",
|
||||
label: "Get the artifacts of a training job.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/cancel-a-training-job",
|
||||
label: "Cancel a training job.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-the-status-of-a-training-job",
|
||||
label: "Get the status of a training job.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/get-all-training-jobs",
|
||||
label: "Get all training jobs.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/run-preference-optimization-of-a-model",
|
||||
label: "Run preference optimization of a model.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/run-supervised-fine-tuning-of-a-model",
|
||||
label: "Run supervised fine-tuning of a model.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Safety",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/safety",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-moderation",
|
||||
label: "Create moderation.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "VectorIO",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "api-deprecated/vector-io",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/returns-a-list-of-vector-stores",
|
||||
label: "Returns a list of vector stores.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/creates-a-vector-store",
|
||||
label: "Creates a vector store.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieves-a-vector-store",
|
||||
label: "Retrieves a vector store.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/updates-a-vector-store",
|
||||
label: "Updates a vector store.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/delete-a-vector-store",
|
||||
label: "Delete a vector store.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/create-a-vector-store-file-batch",
|
||||
label: "Create a vector store file batch.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieve-a-vector-store-file-batch",
|
||||
label: "Retrieve a vector store file batch.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/cancels-a-vector-store-file-batch",
|
||||
label: "Cancels a vector store file batch.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/returns-a-list-of-vector-store-files-in-a-batch",
|
||||
label: "Returns a list of vector store files in a batch.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/list-files-in-a-vector-store",
|
||||
label: "List files in a vector store.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/attach-a-file-to-a-vector-store",
|
||||
label: "Attach a file to a vector store.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieves-a-vector-store-file",
|
||||
label: "Retrieves a vector store file.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/updates-a-vector-store-file",
|
||||
label: "Updates a vector store file.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/delete-a-vector-store-file",
|
||||
label: "Delete a vector store file.",
|
||||
className: "menu__list-item--deprecated api-method delete",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/retrieves-the-contents-of-a-vector-store-file",
|
||||
label: "Retrieves the contents of a vector store file.",
|
||||
className: "menu__list-item--deprecated api-method get",
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "api-deprecated/search-for-chunks-in-a-vector-store",
|
||||
label: "Search for chunks in a vector store.",
|
||||
className: "menu__list-item--deprecated api-method post",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default sidebar.apisidebar;
|
||||
72
docs/docs/api-deprecated/unregister-a-benchmark.api.mdx
Normal file
72
docs/docs/api-deprecated/unregister-a-benchmark.api.mdx
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: unregister-a-benchmark
|
||||
title: "Unregister a benchmark."
|
||||
description: "Unregister a benchmark."
|
||||
sidebar_label: "Unregister a benchmark."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV0tu20gQvUqhV4lBS06QIIl2TqzBBOMghj+LgW0MSs2S2Emzm6kuKhYEnmH2s5pjzHnmAnOFQZHUx5YdeBvA2ogS6/vqvWpyaZhSFUOiZEZL8/LgQL9ySpZdJS4GMzKffzNNZl7dd+u8IGD6VlMS+I4JXJijdzlEhhL9NHJJucmMjUEoiPpjVXlnUf2HX5IGWZpkCypRr2RRkRmZOPlCVkxmKo4VsbiuuiQoddqyc0FoRmyyO2X9en5+Ap012JiT1i9OPG35JmEXZjuuY+bI0BpngJCKyAKpLkvkBcQpSEFArc33wtkCXNc0OwwC08iAob/f5mk0vqDzj83cWWtqH8OMGIq6xLDPhDlOPMGWz61yNJMLSTDYR3T57HN7hf45HMLF6XHfjMUAE4I6UQ4SgUnY0ZygjEzggs6znRzgJNbSJk8VWTd1FqK1NTMFS3fqajKDee66fCdbA52iT5QZ5Y9jys3ocjXh1bTW4F2v59fB9AB4Ky7DlGPZ1nB48nEAp7GeFX4B0+h9/J7g9JcP8ObtwZuBgkY3WFYdM1b8enVwsMn3HnM47Si+qeeRzG8a7f7Vy3f3K8d6R0GgwARJLyRGKDEsVoE1KiDM3JwCYBnrIC22rqQnUT2J6icT1ct3m3znMcInZXqvrLQtrd9jDQXOCejGEuUKm4oNhcC70skATjxhIhBeAM7QBfAoxINeb68fOqkS8ZwYKFiVEjHlSqw60E1FVijvwX2S1pO0fippvd4+rz4qswN6OOvYvsnfy+twl/IrMPIBfK4ZhLBsT6UJUYAQxU0d5St55TTF2suuxH4U+ElUT6L6uUR1cF+2R0ioVYlSDWdJu3lPwRYl8tekDdwu+CIwzVwSYkCYrAwHynlkLEmINcbSBCy1kLXJH04V5TRGhVLsIKGn3cej1QzWbjrPep1T82xwF64p21Vhz52maYuvmCzKxrwkKWJuRiYnT0Jt4VKYkRnOXwxpjn64zp2Gy+3yG5OZ7jzuOqxZgS1EqtFwiGGxX8QklO97jyXuJ0H7dWBjabSORLZmJ4vW8Wi1ji6v9Z4StC2/n92x+sOZ+sNZT9OOvvtwtO5HKaKM03I6BOcv7gFVdZ5uMR63NbidSwoUqDjOXU7pKsCdD0Ki9mGeQl5FFyQBhvZBxzHYyB2JcxdmoPuNp2gpdUGR6SooESO3Ct0NPtGXEk9zYpytqvoUc/JpcBWuwt7ev3/9/d8/f8LR+OR0/OHwfHy0tzeCY5qhXbRIdIlKXOgiYCrjnHJ9F5nWUjNBj1IawIXKTF953Iw7KJim1C+A4BetuKqYpMR2yfc8fpj3txBfbs6MH7j0RBW6kWHl0QXN2dJp2bPxspum8tFkGxHpwEe3JHWdGaWdeiyXE0x0wb5p9O9vNbHy7Toz7Z6fKLkulyZ3Sa/z9SJ7sIFnp73UnsOj1Xlva/2fGBZKWPS1/jKZ+UqLuyuiuW4yUxDmxG21ncmhtVTJlvPOcaxCWkv7aHw8Ph+bpvkfsu9WWQ==
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Unregister a benchmark."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/eval/benchmarks/{benchmark_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Unregister a benchmark.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to unregister.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
---
|
||||
id: unregister-a-dataset-by-its-id
|
||||
title: "Unregister a dataset by its ID."
|
||||
description: "Unregister a dataset by its ID."
|
||||
sidebar_label: "Unregister a dataset by its ID."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV81u20YQfpXBnhKDlhwjQRrd3EhFjTqI4Z9DYRvFaHcobrLcZXaHigmBz9B7T32MPk9foK9QDElZcuS0vhqwLqLI+fn2m+/bFVcqUqqCT5TUZKUODw7ky1DS0VZsg1cT9fEX1Wbq9UOPLgqCSF9qSgxf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ms9Oz2fuji9l0b28CJ7RA3XRM9I1KbGQHiFSGJRl5CclrriPBwFIawaX4S9517CL2VETKaXC+d03nqiokLrHb3Qfp/r/k7zG/2hwaj0gd9Mp0y+PKofWCoZPXahDl1TDdtSUzNdky002mRHsStlrNMdFldG0rt7/UFEV0N5nqdvm5KOxqpYxNcm3utrHvon9xNtjsJTzSlw+uZriJvhHNoqvll8rUZ2rubwztTZupgtBQ7JD2AUdaU8VbqTsHsTjpztLT2cnsYqba9l9601J2
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Unregister a dataset by its ID."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1/datasets/{dataset_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Unregister a dataset by its ID.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"dataset_id","in":"path","description":"The ID of the dataset to unregister.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
72
docs/docs/api-deprecated/updates-a-vector-store-file.api.mdx
Normal file
72
docs/docs/api-deprecated/updates-a-vector-store-file.api.mdx
Normal file
File diff suppressed because one or more lines are too long
72
docs/docs/api-deprecated/updates-a-vector-store.api.mdx
Normal file
72
docs/docs/api-deprecated/updates-a-vector-store.api.mdx
Normal file
File diff suppressed because one or more lines are too long
78
docs/docs/api-deprecated/upload-file.api.mdx
Normal file
78
docs/docs/api-deprecated/upload-file.api.mdx
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
---
|
||||
id: upload-file
|
||||
title: "Upload file."
|
||||
description: "Upload file."
|
||||
sidebar_label: "Upload file."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1uG0cMfhViTk6wkmUnaRrdnMRBAySw4Z8ChWUU1A6lnWR2ZjMzK3tr6Bl676mP0efpC/QVCs7sSitbQRykPQSwL5LWHHJIfh+55I1w5CtrPHkxvhH7oxF/SPK5U1VQ1oixODBwVJE5ePtGaTqafqA8gKPKkScTlJlDKAjqSluUJGGmNA1FJnJrApnA6rCqtMqR1e1+8KzzRvi8oBL5W2gqEmNho2KRicrZilxQ6Ubt47WcD06ZeTLggxgLNigyIWmGtd540HfirCBIuoAVZXBVqLwA5QH1FTYeJvHcRIhlJpTcZvCuQj4BSnIYZopcpzRHA1MCRzNyZHKSoEwM0sHxWyAjK6tM8Gxo2oTkZmtLmUBzcluNefUbgZ1FRWw4Y61JwTITuSMMJH/FcE9150ZdQ1Al+YBlBTvKgKfcGukfwcw6uCrIrGzBFXpoTbA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kRPHhxEB24H45U1wVndh4mdbaKOKXLMUPHjiYEBJFsZlLUPDOpJz6WJiCLtLdYyyvBHuOJm+OSH0QjQSNh/9mJ/NBrBzh4UlnumhScjkNj4R9H7voPtKnK1slluCgRXU2wRlaM87tbio0yUFAorxVhUNg6fFYZCjMXuYm/XVmRQ8bfoZQwet3tmw42oHVepIoRqvLuLphkU1geSA62xxIEPmH8c5rYUy8sY9Nqp0MSDr7vefnHJ/+NqH7PbZuMdn4dTPg+nbc1PcR/A69X1GX58I75OStRib8uejpum32gf2G9ofVuxIFbOLpQkPzFw6w/BU5yMV4UxpigUpBzk1qWOILmiMEDdDHPySSk6mhiu6tbFdndX+ZQLpqYFOZx3t3pvJelUfR8//vuPP//563d4fXh8cvjq4Ozw9ePHY3hHc8ybGIlkqMQmbYNLu0jLtlkdakfQRskP4Zx7Fu8P1LxF82p3DNboJlKaoVBifGNKC9GNTnI7zL1C+NBxvrHjtCUu0HXYrTQqw+mITLtpmXmRgJ64yQTYa3e2saQxB1nm5maKns6dXi758aeaXJN6WHyDnDLTLi6XmSgIJZftixvxkZq23pEJgzO+CYvrmm+0rcEts+7QQZ5TFXrid16+memrUnN8dHrGrantoyW/OI9js4t6s/VXvuRy+S+RpSkR
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Upload file."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1/openai/v1/files"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
:::caution deprecated
|
||||
|
||||
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
|
||||
|
||||
:::
|
||||
|
||||
Upload file.
|
||||
Upload a file that can be used across various endpoints.
|
||||
|
||||
The file upload should be a multipart form request with:
|
||||
- file: The File object (not file name) to be uploaded.
|
||||
- purpose: The intended purpose of the uploaded file.
|
||||
- expires_after: Optional form values describing expiration for the file.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"purpose":{"type":"string","enum":["assistants","batch"],"title":"OpenAIFilePurpose","description":"Valid purpose values for OpenAI Files API."},"expires_after":{"type":"object","properties":{"anchor":{"type":"string","const":"created_at"},"seconds":{"type":"integer"}},"additionalProperties":false,"required":["anchor","seconds"],"title":"ExpiresAfter","description":"Control expiration of uploaded files.\nParams:\n - anchor, must be \"created_at\"\n - seconds, must be int between 3600 and 2592000 (1 hour to 30 days)"}},"required":["file","purpose"]}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"An OpenAIFileObject representing the uploaded file.","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"file","default":"file","description":"The object type, which is always \"file\""},"id":{"type":"string","description":"The file identifier, which can be referenced in the API endpoints"},"bytes":{"type":"integer","description":"The size of the file, in bytes"},"created_at":{"type":"integer","description":"The Unix timestamp (in seconds) for when the file was created"},"expires_at":{"type":"integer","description":"The Unix timestamp (in seconds) for when the file expires"},"filename":{"type":"string","description":"The name of the file"},"purpose":{"type":"string","enum":["assistants","batch"],"description":"The intended purpose of the file"}},"additionalProperties":false,"required":["object","id","bytes","created_at","expires_at","filename","purpose"],"title":"OpenAIFileObject","description":"OpenAI File object as defined in the OpenAI Files API."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
19
docs/docs/api-deprecated/vector-io.tag.mdx
Normal file
19
docs/docs/api-deprecated/vector-io.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: vector-io
|
||||
title: "VectorIO"
|
||||
description: "VectorIO"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
41
docs/docs/api-experimental/agents.tag.mdx
Normal file
41
docs/docs/api-experimental/agents.tag.mdx
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
id: agents
|
||||
title: "Agents"
|
||||
description: "Agents"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
APIs for creating and interacting with agentic systems.
|
||||
|
||||
## Agents API (Experimental)
|
||||
|
||||
> **🧪 EXPERIMENTAL**: This API is in preview and may change based on user feedback. Great for exploring new capabilities and providing feedback to influence the final design.
|
||||
|
||||
Main functionalities provided by this API:
|
||||
|
||||
- Create agents with specific instructions and ability to use tools.
|
||||
- Interactions with agents are grouped into sessions ("threads"), and each interaction is called a "turn".
|
||||
- Agents can be provided with various tools (see the ToolGroups and ToolRuntime APIs for more details).
|
||||
- Agents can be provided with various shields (see the Safety API for more details).
|
||||
- Agents can also use Memory to retrieve information from knowledge bases. See the RAG Tool and Vector IO APIs for more details.
|
||||
|
||||
### 🧪 Feedback Welcome
|
||||
|
||||
This API is actively being developed. We welcome feedback on:
|
||||
- API design and usability
|
||||
- Performance characteristics
|
||||
- Missing features or capabilities
|
||||
- Integration patterns
|
||||
|
||||
**Provide Feedback**: [GitHub Discussions](https://github.com/llamastack/llama-stack/discussions) or [GitHub Issues](https://github.com/llamastack/llama-stack/issues)
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
68
docs/docs/api-experimental/append-rows-to-a-dataset.api.mdx
Normal file
68
docs/docs/api-experimental/append-rows-to-a-dataset.api.mdx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: append-rows-to-a-dataset
|
||||
title: "Append rows to a dataset."
|
||||
description: "Append rows to a dataset."
|
||||
sidebar_label: "Append rows to a dataset."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV81u20YQfpXBnhKDkpwgQRrdnMRFjSa1ICtAC1sohsuRuMlyl9ldyhYEPUuPBfp0fYRidsmIthTDAXoJYF1EUfO3M9/3DbkRjnxtjScvxhvx/PiYvwry0qk6KGvEWJz/KraZeHHor1lJ4OhLQz7ANXpQZoVaFWAdVKgX1lVUiExIawKZwP5Y11pJZP/RJ89BNsLLkirkq7CuSYyFzT+RDCITtbM1uaBSdT5gaHzPTplAS3Iiu1PWL7PZBJI1SFsQ1x9U0NTz9cEps9xzPXXOOojGGSD40roAvqkqdGuwCwglAUWb61LJElQ6tFNoAiysAzTt/zHPluMHVPqhmZM1p9bWLMlB2VRoBo6wwFwT9HxulcOZlPEBjXzAKZ+cxyvUT+EEPk7ft4eRaCAnaDwVECw4Ck7RiqCyjkAZnmecHGBumxCT+5qkWigJVsrGOTKS7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zNkEuE2L20uRKucMHXJZG3bYFZkY9zRzngkGKHtuNjl6+uj0dsu3vzTkGJnzTMQ9njO+LjeiUJ6vdwz65lGeTFv+PYXvlN+DB+10x7AMrlA3/Etk4jOtb++BSIySsCAXK04Gb1NdgxmH2QXYk2hWtORxIiXV4V7beU9AJucXM5GJvF0DFT9gjYXDa94neJ2KtbFPSeD53kZoNMsGl2ybYvLnPxaJJpg=
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Append rows to a dataset."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1beta/datasetio/append-rows/{dataset_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Append rows to a dataset.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"dataset_id","in":"path","description":"The ID of the dataset to append the rows to.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The rows to append to the dataset."}},"additionalProperties":false,"required":["rows"],"title":"AppendRowsRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
19
docs/docs/api-experimental/benchmarks.tag.mdx
Normal file
19
docs/docs/api-experimental/benchmarks.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: benchmarks
|
||||
title: "Benchmarks"
|
||||
description: "Benchmarks"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
68
docs/docs/api-experimental/cancel-a-job.api.mdx
Normal file
68
docs/docs/api-experimental/cancel-a-job.api.mdx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: cancel-a-job
|
||||
title: "Cancel a job."
|
||||
description: "Cancel a job."
|
||||
sidebar_label: "Cancel a job."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV8Fu20YQ/ZXBnhKDlpwgQRrd3ERFjSaN4ThAC9sohsuRuM5yl5kdKhYEfkuPBfp1/YRiSMqSLadwgl4CWBdR5M7OmzfvzVIrw5TqGBIlM1mZpwcH+lVQsuxqcTGYiXn3i2kz8+yuR6clAdOnhpLAZ0zgwgK9KyAyVOhnkSsqTGZsDEJBNB7r2juLGj++TLrJyiRbUoV6JcuazMTE/JKsmMzUHGticT26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cj/v8FS7BlhjmqveZzqacbKwUahKdkp2x65ikwu6AGSR823k3yF1tTqmdhYM+ha5kXHt0QffvFLMaNHhmBqgmM6pCk20crG2d3PKzSlFvD666yIzqTfdZrXJM9IF92+rtTw2xCu0iM90pk6uqzlamcEmvN+74YjGPTgbfPYZvmRV31j7cxLBUyaJv9JfJzEda3p5dOkL+B7A70+QbcA1ktxdtZkrCgrijsn94aC3VshW286ai9r6eQa+nb6anU9O2/wIVX6/a
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Cancel a job."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1alpha/eval/benchmarks/{benchmark_id}/jobs/{job_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Cancel a job.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to run the evaluation on.","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","description":"The ID of the job to cancel.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
68
docs/docs/api-experimental/cancel-a-training-job.api.mdx
Normal file
68
docs/docs/api-experimental/cancel-a-training-job.api.mdx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: cancel-a-training-job
|
||||
title: "Cancel a training job."
|
||||
description: "Cancel a training job."
|
||||
sidebar_label: "Cancel a training job."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV1Fv2zYQ/isHPrWBbKdFi7Z+S9sMy9YuRuIAGxJjOFFniylFquTJiWH4t+xxwH7dfsJwlBQ7TdplwF4KRA+2IPF4H7/7viO1VoFi7V2kqMZr9Xx/X/4KijqYmo13aqyOf1abTL2479W0JAj0uaHIcIURjFuiNQX4ABXauQ8VFSpT2jsmxxKPdW2NRokfXUaZZK2iLqlCueNVTWqsfH5JmlWm6uBrCmxadJGRm7gzzjimBQWVfQHrx+l0Au1o0L4gwc+GLe3ERg7GLe6EHobgA6TBGSDE0geG2FQVhhX4OXBJQGnMVWl0CaZddDDoGOY+ALrufcqzkfkZjX1o5na0pLbeLShA2VToBoGwwNwS7MTcgiOZjIuMTj9glU+O0x3ap3AAZycfusVodJATNJEKYA+BOBhaElQ+EBgn9UyVA8x9wyl5rEmbudHgtW5CIKfpC1ybTGFRmDbfZKegc7SRMiX6MYEKNT7vK9xX64a82U39Wpq+Ql6vZZgHXyUMB5OjIZz4ZlHaFcy9tf4qwskP7+DV6/1XQyGNrrGqW2X0+nqxv7/N9xYLOGklvsXzQOVvNrL6F8/f3O8cbQ05hhIjRLlh76FCt+onllkBYWGW5AAr3zhO3JqKHk31aKrvzFTP32zzTb2Hj6L0zllx11q/+QZKXBLQtSYqhDYxGzKBNZXhIUwsYSTgsAJcoHFgkSkMO7+9/NpOFSksKQA5LVaiQIUIq3F0XZNmKjpyH631aK3vylovd/erI1G2Qwunrdq3+Tt7HdyVfE9GMYTjJgATVmlXyokcOM9mbqjo7VXQHBvLdy32rYkfTfVoqu/LVPv3ZXuAhZJLRGq4iLKaiY88DWiccQt48s5X8n/qvXsqC7q9gHdSOAsI3Adc+nwoFsCAFTEFmXLW0kWR3/piJZj/J2td+vz3pjHFv0tHdtOzs6P3fZUvfS5a0Qn/8L+V+ybrTn1bInrafvJ5fwJP1G6jOTSU3FUH0sjyqMtQEZe+UGNV+3Rwr5FLNVaj5TO0dYkjeTzoaR5d+nzUgleZao8JwvRaNUHqXTLX49EI3WpQ+shUDKzFCgeRUX8aal+pzUzidBMMr1Lg+75Lns/knZTiZFu0w63etqT3ZCcTz32qQsfHB0kHp5IOTjuztSYcwOF1TcFU5BitSF2cI/jbSi2f3VM86VfxlnNxt5fsZuMSGergl6ageOHgiwshUvooIVfU3jiOgC4d2EwA7UNrxkKkLH06zFFTbCfFQBdODOVD6jR3J8/l48rSkgIuelQffUE2Di/chdvb+/uPP/+Cw18nhydHHw9/mR582NsbwyTQIFB7QhQ64ElX8wyWz3JifNrmr3AFukS3IMhpLs0tJ93aM7K02dQZRCcVJhs5rOhbJr3F8o4pvx7RmYzpmke1ReMkY5LcuhPsuerAqxbKjWRVJsqRbbWV7SxTIk2JWK9zjHQW7GYjjz83FFZt20hbVC6KOp9tMlUSFhSSXD/RSoC2kAdTwSXDbSP47vSUTdZHHGhNNX9z7GzHjJPj06nKVN71rUq25bEKeKWy9DtWKlM+UZg6Unq2VhbdosGFjG3nlOsfJUWINg==
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Cancel a training job."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1alpha/post-training/job/cancel"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Cancel a training job.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"job_uuid":{"type":"string","description":"The UUID of the job to cancel."}},"additionalProperties":false,"required":["job_uuid"],"title":"CancelTrainingJobRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: create-a-new-session-for-an-agent
|
||||
title: "Create a new session for an agent."
|
||||
description: "Create a new session for an agent."
|
||||
sidebar_label: "Create a new session for an agent."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWM1uGzcQfpUBT4mxkpwgQRrdl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qP3DtkSUt0pu50HItC36xa1XjmSPOXfuCkp5FYxVDaOERGxoRisnmFR5TiI8PjBtkV2N2h/H8hEurUkAtSO6ZeHUA0HAzSbXm59INUrCiyx5wPKz31pS8EQeZK102ETN75rm/bFjN8xMJM9hCcd+t+C4AZzZtrCRkyaqrxnl3DGLuGs0X/qCz04ua7I6ZJMwILVx2LmHBJuq2d3QMkt1N9qJthtb11vIccAlbMrrchfGvjig+ApzklkVGW1CR7QxDukdiCtS/1B8c8dfHS4BUryySg6ujSsceti8zs0Pud5r6AVOVy2UX2wigrfvzSX5ujonz//+htOfhufTE4/nPw6Hb0/OhrC2FHPUbq0cjngSQN8Bqtncwr4NPkvcQMyR7MkmNOC++2cpC05VB+488dmxRwqMQqrQelBveRWxTuSfdjuRoqBrsOgKlAbjiTScduw+UI0SYksdShGfdjpVS2lZ5lg2vKO7XaOns5dsdvx46uaHPN1lol4ms6ZaRdbobTn73s93ZvLk0mjxqfwzQ3wzhSbh2g2zGEsav5PZOIzbbqdeDfbZSInVORixOn12xRXb8pG9tsPWuQua3eMpKQq/OfaWaedjD+eTUUm5k0bLvmaMxQO19zPcZ1CtbFOscHGZ1tRoFnWuOS1ySZ//gVFyn38
|
||||
sidebar_class_name: "post api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Create a new session for an agent."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"post"}
|
||||
path={"/v1alpha/agents/{agent_id}/session"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Create a new session for an agent.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"agent_id","in":"path","description":"The ID of the agent to create the session for.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"session_name":{"type":"string","description":"The name of the session to create."}},"additionalProperties":false,"required":["session_name"],"title":"CreateAgentSessionRequest"}}},"required":true}}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"An AgentSessionCreateResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"session_id":{"type":"string","description":"Unique identifier for the created session"}},"additionalProperties":false,"required":["session_id"],"title":"AgentSessionCreateResponse","description":"Response returned when creating a new agent session."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
19
docs/docs/api-experimental/dataset-io.tag.mdx
Normal file
19
docs/docs/api-experimental/dataset-io.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: dataset-io
|
||||
title: "DatasetIO"
|
||||
description: "DatasetIO"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
19
docs/docs/api-experimental/datasets.tag.mdx
Normal file
19
docs/docs/api-experimental/datasets.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: datasets
|
||||
title: "Datasets"
|
||||
description: "Datasets"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: delete-an-agent-by-its-id-and-its-associated-sessions-and-turns
|
||||
title: "Delete an agent by its ID and its associated sessions and turns."
|
||||
description: "Delete an agent by its ID and its associated sessions and turns."
|
||||
sidebar_label: "Delete an agent by its ID and its associated sessions and turns."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV8FuGzcQ/ZUBT7GxlpwgQRLd3FpFjdq1YTtAC9soRuRIy4RLbshZ2YKw39JjgX5dP6EY7sqSI6f1IZcA1kXUkjPzZuY9zmqpIqU6+ERJjZbq1f6+fBlKOtqabfBqpE5/UW2hXj+2dVkSRPrcUGK4xQTWz9FZAyFChW4aYkVGFUoHz+RZ7LGundUo9sOPSZwsVdIlVSgrXtSkRipMPpJmVag6hpoi2w5dYuQmbZyznmlGURVfwPr58vIMutOggyHBz5YdbdgmjtbPtkzHMYYI+XABCKkMkSE1VYVxAWEKXBJQPnNbWl2C7ZKOFj3DNERA3+/nOK34Z7TuqZG70xLaBT+jCGVTod+LhAYnjmDD5gEciWR9YvT6CVm+OM0rdDtwAB/Oj/tkNHqYEDSJDHCASBwtzQmqEAmsl37mzgFOQsM5eKpJ26nVELRuYiSv6QtcbaHQGNvFO9to6BRdokIJf2wko0ZXqw6vunVfv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s/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete an agent by its ID and its associated sessions and turns."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1alpha/agents/{agent_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Delete an agent by its ID and its associated sessions and turns.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"agent_id","in":"path","description":"The ID of the agent to delete.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: delete-an-agent-session-by-its-id-and-its-associated-turns
|
||||
title: "Delete an agent session by its ID and its associated turns."
|
||||
description: "Delete an agent session by its ID and its associated turns."
|
||||
sidebar_label: "Delete an agent session by its ID and its associated turns."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztV9tuGzcQ/ZUBn2JjLTlBgjR6c2sVNeo0huMALWyjGJEjLRMuuSFnFQvCfksfC/Tr+gnFcFcXW07hNH0JYL1otcuZczhzznC1VJFSHXyipEZL9ezwUL4MJR1tzTZ4NVJvflZtoZ7f9+iiJIj0saHE8AkTWD9HZw2ECBW6aYgVGVUoHTyTZ4nHunZWo8QP3ydJslRJl1ShXPGiJjVSYfKeNKtC1THUFNl27BIjN2lrnfVMM4qquEPrp4uLM+hWgw6GhD9bdrQVmzhaP9sJHccYIuTFBSCkMkSG1FQVxgWEKXBJQHnNp9LqEmy36WjRM0xDBPT984zTSn5G6x6K3K0WaBf8jCKUTYX+IBIanDiCrZhbdATJ+sTo9QN2+eRNvkK3B0fw7vy034xGDxOCJpEBDhCJo6U5QRUigfXSz9w5wEloOIOnmrSdWg1B6yZG8pru8GoLhcbYDu9sq6FTdIkKJfqxkYwaXa46vOrWunjX6/51ZfpM8VZahmkMVeZwdHYygPPQzEq3gGlwLnxKcP7jD/Dyu8OXAyka3WBVd8pY6ev54eEG73s0cN5JfMPngcpvW9n982ev7neOdpY8Q4kJklxwCFChX6wSS1ZAmNk5ecAqNJ5zbW1Fj6Z6NNU3ZqpnrzZ4FyHAa1F676y0ba3fQgMlzgnoRhMZKZuYDZnA2cryAM4cYSLguACcofXgkCkOer+9+NxJlSjOKQJ5LVaiSEaE1Xi6qUkzmb64j9Z6tNY3Za0X2+fViSjbo4O3ndo3+L29jnYlvyqGGcCbJgITVvlUmhB58IHt1JJZ2cvQFBvHuxb7t8SPpno01bdlqsP70B5goewSkRrOkuzmaEaek5C/TfaYHDGJUlBWQKKUpKqTBVhOcHIM6E2+xJSCtihQ3ESfBuIJjFgRUxSMpfJY5UZ3OX634jcrKDVyuVMnOQtPjlcdWgFzAJM5Sf5NPzg2VOy6s9dU2xZr9LyPL8Putr5GvsVnGuKXMcklriNpKdVaWRVxGYwaqQ4i145LNVLD+VN0dYnDTCINlyv+7bCnMFxuCtqqQnXvD13FmyhCKJnr0XCIfnFQhsRkDpzDCg8So/4w0KFSwiqRbqLlRQ48Xo3Py2t5JobKm+m1dirx8Fbi4W1vq85uBzC+qSnaijyjE1GLR4RQV9n503uKLZMp3fIobk+NbTQukaGOYW4NpSsPdz4IifLfD/KmDtaLMH1+NbMRdIid7Yz1M5CJHKeoKXVJMdKVF+uEmGfKbvKJ/I1yNKeIsxWr18GQS4Mrf+X39//+48+/YPzr2fj85PX4l4uj0/39EZxFOojUvQtKOeBJ39IC5k8nxLjX4Ve4AF2inxFMaCpjbEI6VEI1sQzUPAPqkLjCfBb1gv46i95qxXJz/H1l2l71TDc8rB1aL9yzGpe9si9VXwZVdJ4UnYy23NkDyt2tiXFdKNGwxC+XE0z0Lrq2ldsfG4oi3utC5UNuIkq9XCpjk1xvvPbZLT857128Bw8YPvdusb+JfiGqR9fIL1WoD7S4PflkIv0PzB4wmv4Dz3UX2uu2UCWhoZhr2T0+0ppq3grceVOSmbEeacfj0/HFWLXtP8nB4Mc=
|
||||
sidebar_class_name: "delete api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Delete an agent session by its ID and its associated turns."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"delete"}
|
||||
path={"/v1alpha/agents/{agent_id}/session/{session_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Delete an agent session by its ID and its associated turns.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"session_id","in":"path","description":"The ID of the session to delete.","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","description":"The ID of the agent to delete the session for.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"OK"},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
File diff suppressed because one or more lines are too long
19
docs/docs/api-experimental/eval.tag.mdx
Normal file
19
docs/docs/api-experimental/eval.tag.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: eval
|
||||
title: "Evaluations"
|
||||
description: "Evaluations"
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
|
||||
|
||||
Llama Stack Evaluation API for running evaluations on model and agent candidates.
|
||||
|
||||
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
68
docs/docs/api-experimental/get-a-benchmark-by-its-id.api.mdx
Normal file
68
docs/docs/api-experimental/get-a-benchmark-by-its-id.api.mdx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
id: get-a-benchmark-by-its-id
|
||||
title: "Get a benchmark by its ID."
|
||||
description: "Get a benchmark by its ID."
|
||||
sidebar_label: "Get a benchmark by its ID."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWMFuGzcQ/ZUBT4mxlpwgQRrdnMZNDdiN4ThAC9swRtyRljGX3JCzsgVB39JjgX5dP6EY7q60smUnBXoJYF0kcYecmcf3hstZqECx8i5SVKOFerm3J185RR1MxcY7NVL78I6cLkoM1wOVKe0dk2Oxw6qyRqPYDb9EMV6oqAsqUX7xvCI1Un78hTSrTFXBVxTYNK5MTo7NxFDo2UYOxk3VMhnPTE7hKlD0ddB0ZfLHDR943gzcfZApcnWpRueq9DlZlalYGLK5ytSMNPtwFdkHUpnKkTGSxB+1l7lXk9rpBE2mxh0wKlPsvW2/rqbB11WTclmxukyoRVajjRk5TbC290f74J8VBB0EIDlkgPYG5xHWc5arKLeCcHfJwxXy4CfABUE7G9hDHQkmPqThlQegGdo67bM4uwtE7PnEEHCuMmWYyrh1QzaDOTKRJYx2TejWhDU/osQlVJtDXiejzXBKYpQMtnEO89yIHdqTDfZ5Rx8nanS+muFqa9UyW/0fe28JXX/I1eWYQn9kldSd9HsDbSTLy3uZH7dht3Cb2EsLGOO1Wi4fSmCCNlKmAn2tTaBceNzT06YoWglscGTbHvaAvMwUG7YS/7sHmbnf48eKoZJLl4abQhIXVBQmPpToNA3UcilpvdpWaBquf60pMtxgBONmaE0OPkCJVpag/P8rQJGR6z5FjWOaJvg2w/r17OwEGmvQPqdUVRp4viW1gxBkc8U4A4RY+MAQ67LEMO/ER8nmpjC6ANMkHQw6Tliia58nP4lDjMZ+r+fGWlxb76YUoKhLdLuBMMexJejN2QhHPBkXWbbs276efawaij6Hffh8etQmo9HBmKSi5KLgQBwMzQhKHwiMS5RInnHsa07OY0XaTIwGr3UdAjlNd+L6L5Jod7jbrRV4PXonmB4ArzsZYRJ8mWLYPzkcwKmvp4Wdw8Rb628inP7yM7z5ae/NQECjWyyrhhkdv17t7fXkhDmcNhRfx/OdzG+V8/LtduVoa8gxFBghyg/2Hkp0825hWRUQpmZGDrD0tUuFl01JT6J6EtUPJqqXb9f+zryHY2F6q6zYl9YfvoYCZwR0q4lygU3EhkxgTWl4ACeWMBJwmANO0TiwyBS6k+r1QydVpDCjAOS0SIkC5UKs2tFtRZopb8F9ktaTtH4oab3un1eHwmyHFj41bF/7b+W1f5/yHRj5AD7WAZiwTKfSmMiB8+klNe/ktboD3bt1PrLwk6ieRPVjiWpvm7fvkFBSiVANp1GyWV3HoiSwGfAHYsDepWw8B8MRDt9L16bCgCUxhZhuvQ5L6vcdmkuhkWUq5GJrG+LwfbcNax/sYUosDtaYc6gpu6/A7rK8TIFXgTSymLd7VhIXPlcjNU3NlhTFSA1nL9BWBQ7lUjlc+Y3DRT/0pVxoU4FqsquD4FowV6PhEN18t/CRKd+1FkvcjYz6eqB9qSSUSLoOhudp4vuuGp1fyjPhZ8qg3bojmQ+fZD58alnasHcXDm4rCqYkx2iFIzG1kkJs8Ju92AKpCD1uUB77Iux74wIZ2lt9vHBw54Mg7Rs/AXJ55Y3jCOjSm44JoH1oWJzLlVwKXJigptgsioEunDDRhyTR+4uP5VZiaUYBp11Ux3Kxj4MLd+F2dv7586+/4eD3k4PTw+OD3872j3Z2RnASaDdQ82olcMCzdiszmL0YE+Pzxn+Jc9AFuqnQaiJVYUzalxJqZKlPSVKVj1xiKu0tdR9l+wbSi/Vh8fislqhMtzysLJrUXUpcWrR8PFdtEtJAnKHttwBlw0cbgrrMlBBPpi0WY4z0OdjlUoa/1hSEcZeZSoV+LPQ6X6jcRPm9VsWDiTw7bfX2HL6tza2JdR0rJ+06adnIP5Wpa5rfrQype1UQ5tKsPV+0JvtaU8W9yfcOYtHQStcfDs7UcvkvnLDWCg==
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get a benchmark by its ID."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1alpha/eval/benchmarks/{benchmark_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Get a benchmark by its ID.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"benchmark_id","in":"path","description":"The ID of the benchmark to get.","required":true,"schema":{"type":"string"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A Benchmark.","content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string"},"provider_resource_id":{"type":"string"},"provider_id":{"type":"string"},"type":{"type":"string","enum":["model","shield","vector_store","dataset","scoring_function","benchmark","tool","tool_group","prompt"],"const":"benchmark","default":"benchmark","description":"The resource type, always benchmark"},"dataset_id":{"type":"string","description":"Identifier of the dataset to use for the benchmark evaluation"},"scoring_functions":{"type":"array","items":{"type":"string"},"description":"List of scoring function identifiers to apply during evaluation"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"Metadata for this evaluation task"}},"additionalProperties":false,"required":["identifier","provider_id","type","dataset_id","scoring_functions","metadata"],"title":"Benchmark","description":"A benchmark resource for evaluating model performance."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
68
docs/docs/api-experimental/get-a-dataset-by-its-id.api.mdx
Normal file
68
docs/docs/api-experimental/get-a-dataset-by-its-id.api.mdx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,75 @@
|
|||
---
|
||||
id: get-a-paginated-list-of-rows-from-a-dataset
|
||||
title: "Get a paginated list of rows from a dataset."
|
||||
description: "Get a paginated list of rows from a dataset."
|
||||
sidebar_label: "Get a paginated list of rows from a dataset."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWVFPHDcQ/isjPxF0d0CUqM290YamSCQgQtRWAUVzu3O7Trz2xp49OKH7LX2s1F/Xn1CNvXu3cBcCVaQqErzAGdvzzcz3zdi+a+Up1M4GCmp8rZ7u7sqvnELmdc3aWTVW+3CChbbIlJ+2k0dqoDJnmSzLfKxrozOU+Tsfgyy6ViErqUL5i+c1qbFyk4+UsRqo2ruaPOtkMkfuz0Lvca4GSjNVYdNqzHMthtCc3NjHWTqeqvH75QrbGKMWg+XniXOG0PaHbFNNyPdHAntti/5IAtQbaJEsLhaLwa1InZUERgcGN4XoAEydBy4JssZ7sgw1FqQWA1Vi+FA5Tz0PO3y3N/2tJC4pbuMJ0BPIwnZ/nKE2ODEEOOU4SQcIxGKj8aa3fevZJsjvTo8iUMwyCkHbIm0jnihxcnPIp2gCDZSnz432lKvx+5TLnnMXA8WajZhfo9Aakn0oyJLXmQQpzYWOnMAlMkydMe4yAELQVW1IQFfII7VYCMxnm8gr/glECgyXGEDbGRqdg/NQoZENKP92ZA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HCj2GK//Petxdec2ruZzimcW7j1gyIFWUc2r522HABtPGNrD5nzSad5qhhMfooZhbQpejq3UgOdj81hffOJ3IcNzchj0aF67XIyqQ5sb//z519/w8HvJwenh68P3pztH21vj+HE09BTOtRLOGBrtoemLnEAKadPkv0K55CVaAuCCU1F8BPKXCVQA4vgYzGvXeAK46GiZexDCu3t2F+vDi6PBft/KNhtSWC64p3aoLa9x9ck/PcqkUQy10k/vXFH8auBGvfq+8VAicJl2fW1BPadN4uFDKdSJtLOdRA0q4LzRUZ8kzK80cVPNF/rBzM0jcyMD+b3B3lnNb7DeFfoV2Yv5IPXYveBgdo6bav+E3hYF92Ir/v2wM778DrcvWwvLuTrAMKcfAScJuxnGdV9z9YuJOLpssu8OjhTi8W/3wABPQ==
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api-experimental/llama-stack-specification-experimental-apis
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"Get a paginated list of rows from a dataset."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1beta/datasetio/iterrows/{dataset_id}"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
Get a paginated list of rows from a dataset.
|
||||
Uses offset-based pagination where:
|
||||
- start_index: The starting index (0-based). If None, starts from beginning.
|
||||
- limit: Number of items to return. If None or -1, returns all items.
|
||||
|
||||
The response includes:
|
||||
- data: List of items for the current page.
|
||||
- has_more: Whether there are more items available after this set.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[{"name":"dataset_id","in":"path","description":"The ID of the dataset to get the rows from.","required":true,"schema":{"type":"string"}},{"name":"start_index","in":"query","description":"Index into dataset for the first row to get. Get all rows if None.","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The number of rows to get.","required":false,"schema":{"type":"integer"}}]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A PaginatedResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]}},"description":"The list of items for the current page"},"has_more":{"type":"boolean","description":"Whether there are more items available after this set"},"url":{"type":"string","description":"The URL for accessing this list"}},"additionalProperties":false,"required":["data","has_more"],"title":"PaginatedResponse","description":"A generic paginated response that follows a simple format."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue