Knowledge Base Search

Performs a semantic search of the Pricefx Knowledge base. AI Assistant can use this tool to search from vector stores available from the KB in the Chroma DB to achieve the goal or to answer a question.

Tool Nameknowledge_search
Type – Public

Parameters

The knowledge_search tool supports the following optional parameters to control how document content is returned in the search results:

Parameter

Type

Values

Description

truncate_content

boolean

  • true – The content provided by the tool is shortened. (default)

  • false – The tool provides more extensive content to the AI Assistant.

Determines whether the document content is shortened.

content_length

integer

  • If set to a value greater than 0, the results include the first X characters.

  • If set to 0, the full content of the document is included.

  • If the LLM does not specify this parameter, it defaults to 300 characters.

Specifies the number of characters to return in the knowledge_content field.

When truncate_content = false, the tool returns the full snippet contents from the KB and content_length has no effect on the returned content (It is only still validated, so negative values will error).

See Also