AgentToolSpec
Properties
Name |
Type |
Description |
Notes |
---|---|---|---|
name |
str |
The identifier representing the specific tool. |
|
description |
str |
Description of the tool. |
|
enabled |
bool |
Specifies whether the tool is currently enabled in H2OGPT. |
|
default |
bool |
Specifies if the tool is pre-selected by default when available. |
|
extendable |
bool |
Specifies whether the tool supports custom API keys |
|
api_keys |
Example
from h2ogpte.rest_sync.models.agent_tool_spec import AgentToolSpec
# TODO update the JSON string below
json = "{}"
# create an instance of AgentToolSpec from a JSON string
agent_tool_spec_instance = AgentToolSpec.from_json(json)
# print the JSON string representation of the object
print(AgentToolSpec.to_json())
# convert the object into a dict
agent_tool_spec_dict = agent_tool_spec_instance.to_dict()
# create an instance of AgentToolSpec from a dict
agent_tool_spec_from_dict = AgentToolSpec.from_dict(agent_tool_spec_dict)