Search in Files

The Search in Files tool requires an OpenAI API key.

The Search in Files tool allows the addition of files to enhance the chat's knowledge base. Models can search for relevant information within these files and utilize it as context for responses. Only text-based files are supported, such as texts, code, CSVs, and PDFs where the text is selectable.


Large files may take more time to parse. While it is not mandatory, it is advisable to keep individual knowledge files under 50 MB.

The models may not always choose to search in the knowledge files for content. It is a good practice to remind them to use the knowledge files to answer queries.

Knowledge Window Limit

The Knowledge Window Limit in the Chat Settings defines how much content to fetch from the knowledge files.

Important: It is essential that the knowledge window limit is less than the context window limit of the model, otherwise, the model will not be able to use the knowledge due to its larger size.

Time to Process

Processing approximately 3,000,000 symbols from the knowledge files takes about 1 minute when parsing. Please keep in mind that processing time will increase with larger files.

Last updated