Create Data Source
Create a new data source.
Authorizations
Body
Request model to create a data source.
The data source name. Must be unique within suborg. Cannot contain whitespace.
"Rain"
Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
false
Information that the data source will provide to the agent accessing it. It is recommended to include a sentence at the beginning providing context to the LLM for the information in the data source.
"The following are names and addresses of pizza shops.\n\nCool Pizza, 123 Main St.\n\nReally Good Pizza, 456 Water St.\n\nThe Best Pizza, 789 Circle Dr."
The description of the data source.
"Information about rain."
Searchable labels for the data source. Can be included in agent.prompt_tool_defaults for a given tool to give the agent access to data sources with those labels when calling that tool.
["Weather Info"]
String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
""
Response
Metadata about a data source, along with the text. A data source is a blob of text that can be made available to an agent's general info tools to provide more context to the agent when generating its responses. For more information, see Console docs.
The data source name. Must be unique within suborg. Cannot contain whitespace.
"Rain"
Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
false
The data source ID.
1
Timestamp of most recent update
Email of the user who last updated the data source
"user@email.com"
Information that the data source will provide to the agent accessing it.
The description of the data source.
"Information about rain."
Searchable labels for the data source. Can be included in agent.prompt_tool_defaults for a given tool to give the agent access to data sources with those labels when calling that tool.
["Weather Info"]
String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
""
The comments for the most recent edit to the data source
"Added new info"