Tools domain
class yandex_cloud_ml_sdk._tools.domain.Tools
property function: FunctionToolsTypeT
generative_search(*, description, site=Undefined, host=Undefined, url=Undefined, enable_nrfm_docs=Undefined, search_filters=Undefined)
Creates GeberativeSearch tool which provide access to generative search by Search API for LLMs.
Not to be confused with sdk.search_api.generative. Tools domain is for creating tools for using in LLMs/Assistants and search_api domain is for using Search API directly.
To learn more about parameters and their formats and possible values, refer to generative search documentation
NB: All of the site, host, url parameters are mutually exclusive.
|
Parameters |
|
|
Return type |
property rephraser: RephraserFunction
search_index(indexes, *, max_num_results=Undefined, rephraser=Undefined, call_strategy=Undefined)
Creates SearchIndexTool (not to be confused with SearchIndex/AsyncSearchIndex).
|
Parameters |
|
|
Return type |
Types
class yandex_cloud_ml_sdk._tools.tool_call.ToolCall
function: FunctionCallTypeT | None
class yandex_cloud_ml_sdk._tools.function_call.FunctionCall
name: str
arguments: JsonObject