mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
feati(api): add connectors API
Closes #4235 and #4061 (partially) Signed-off-by: Jaideep Rao <jrao@redhat.com>
This commit is contained in:
parent
ee107aadd6
commit
565df6cc0a
11 changed files with 1515 additions and 135 deletions
|
|
@ -427,6 +427,24 @@ resources:
|
|||
cancel: post /v1/batches/{batch_id}/cancel
|
||||
alpha:
|
||||
subresources:
|
||||
connectors:
|
||||
models:
|
||||
connector: Connector
|
||||
list_connectors_response: ListConnectorsResponse
|
||||
list_tools_response: ListToolsResponse
|
||||
tool_def: ToolDef
|
||||
methods:
|
||||
list:
|
||||
paginated: false
|
||||
endpoint: get /v1alpha/connectors
|
||||
retrieve: get /v1alpha/connectors/{connector_id}
|
||||
subresources:
|
||||
tools:
|
||||
methods:
|
||||
list:
|
||||
paginated: false
|
||||
endpoint: get /v1alpha/connectors/{connector_id}/tools
|
||||
retrieve: get /v1alpha/connectors/{connector_id}/tools/{tool_name}
|
||||
inference:
|
||||
methods:
|
||||
rerank: post /v1alpha/inference/rerank
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue