This page is being phased out as part of our documentation reorganization.
Click this card to be redirected to the updated version with the most current information.
If you notice any discrepancies or areas needing improvement in the new documentation, please use the “Report an issue” button at the bottom of the page.
completion_params
and mode
parameters. You can manually build this structure or use model-selector
type parameters or configuration.
query
parameter from tool_parameters
is passed in the code.
LLMModelConfig
. Instead, allow users to select their desired model in the UI. In this case, you can modify the tool’s parameter list by adding a model
parameter according to the following configuration:
llm
type parameters. This allows you to modify the above example code as follows:
text
: The text to be summarizedinstruction
: Additional instructions you want to add, allowing you to stylize the summarytrue
, it indicates that the text
contains sensitive content.