Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/otari/_client/api/search_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def search_create_search(
) -> SearchResponse:
"""Create Search

Run a search against a configured search tool. The tool is taken from ``search_tool_name``, which may be omitted when exactly one tool is configured. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend always bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
Run a search against a configured search tool. The tool is taken from ``search_tool_name``, which may be omitted when exactly one tool is configured. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user. - Service key: a ``user`` field names one of the key owner's end users, created on first use with the key's end-user budget, and is billed and rate limited as that end user, as on chat completions.

:param search_request: (required)
:type search_request: SearchRequest
Expand Down Expand Up @@ -125,7 +125,7 @@ def search_create_search_with_http_info(
) -> ApiResponse[SearchResponse]:
"""Create Search

Run a search against a configured search tool. The tool is taken from ``search_tool_name``, which may be omitted when exactly one tool is configured. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend always bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
Run a search against a configured search tool. The tool is taken from ``search_tool_name``, which may be omitted when exactly one tool is configured. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user. - Service key: a ``user`` field names one of the key owner's end users, created on first use with the key's end-user budget, and is billed and rate limited as that end user, as on chat completions.

:param search_request: (required)
:type search_request: SearchRequest
Expand Down Expand Up @@ -193,7 +193,7 @@ def search_create_search_without_preload_content(
) -> RESTResponseType:
"""Create Search

Run a search against a configured search tool. The tool is taken from ``search_tool_name``, which may be omitted when exactly one tool is configured. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend always bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
Run a search against a configured search tool. The tool is taken from ``search_tool_name``, which may be omitted when exactly one tool is configured. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user. - Service key: a ``user`` field names one of the key owner's end users, created on first use with the key's end-user budget, and is billed and rate limited as that end user, as on chat completions.

:param search_request: (required)
:type search_request: SearchRequest
Expand Down Expand Up @@ -336,7 +336,7 @@ def search_create_search_for_tool(
) -> SearchResponse:
"""Create Search For Tool

Run a search against the search tool named in the path. Identical to ``POST /api/v1/search`` except that the path names the tool, which is the form LiteLLM clients use. Any ``search_tool_name`` in the body is ignored. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend always bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
Run a search against the search tool named in the path. Identical to ``POST /api/v1/search`` except that the path names the tool, which is the form LiteLLM clients use. Any ``search_tool_name`` in the body is ignored. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user. - Service key: a ``user`` field names one of the key owner's end users, created on first use with the key's end-user budget, and is billed and rate limited as that end user, as on chat completions.

:param search_tool_name: Configured search tool to run against (required)
:type search_tool_name: str
Expand Down Expand Up @@ -408,7 +408,7 @@ def search_create_search_for_tool_with_http_info(
) -> ApiResponse[SearchResponse]:
"""Create Search For Tool

Run a search against the search tool named in the path. Identical to ``POST /api/v1/search`` except that the path names the tool, which is the form LiteLLM clients use. Any ``search_tool_name`` in the body is ignored. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend always bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
Run a search against the search tool named in the path. Identical to ``POST /api/v1/search`` except that the path names the tool, which is the form LiteLLM clients use. Any ``search_tool_name`` in the body is ignored. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user. - Service key: a ``user`` field names one of the key owner's end users, created on first use with the key's end-user budget, and is billed and rate limited as that end user, as on chat completions.

:param search_tool_name: Configured search tool to run against (required)
:type search_tool_name: str
Expand Down Expand Up @@ -480,7 +480,7 @@ def search_create_search_for_tool_without_preload_content(
) -> RESTResponseType:
"""Create Search For Tool

Run a search against the search tool named in the path. Identical to ``POST /api/v1/search`` except that the path names the tool, which is the form LiteLLM clients use. Any ``search_tool_name`` in the body is ignored. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend always bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
Run a search against the search tool named in the path. Identical to ``POST /api/v1/search`` except that the path names the tool, which is the form LiteLLM clients use. Any ``search_tool_name`` in the body is ignored. Authentication modes: - Master key: the ``user`` field is required and may name any existing user. - API key: usage and spend bind to the key's own user. A ``user`` field naming a different user is rejected with 403 (or ignored, when the key's own ``reject_user_mismatch`` is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user. - Service key: a ``user`` field names one of the key owner's end users, created on first use with the key's end-user budget, and is billed and rate limited as that end user, as on chat completions.

:param search_tool_name: Configured search tool to run against (required)
:type search_tool_name: str
Expand Down
Loading
Loading