Advanced Knowledge Base AI Settings
Configure advanced AI settings in Pingstreams to optimize AI Agent accuracy, tone, and response quality.

Pingstreams’s AI settings provide powerful tools for fine-tuning the behavior and performance of your AI agent. These settings include the maximum number of tokens, temperature, chunks, system context, and prompt. This tutorial will explain each of these settings and how they impact your Knowledge Base.
Access AI Settings
Section titled “Access AI Settings”- Once logged in, select the Knowledge Base section (brain icon) from the left-hand menu.
- Choose to either create a new Knowledge Base or use the default one.
- Click the gear icon to access and configure the AI settings.

AI Settings Explained
Section titled “AI Settings Explained”1. AI Models
Section titled “1. AI Models”You can choose the following AI models from the drop-down menu: GPT-4.1, GPT-4.1 mini, GPT-4.1 nano, GPT-4o, GPT-4o Mini and etc. As you can see from the picture below, each model consumes a different amount of tokens.

Differences Among OpenAI Models
Section titled “Differences Among OpenAI Models”| Model | Description | Token Consumption |
|---|---|---|
| GPT-4.1 | Latest generation in the GPT-4 family, offering the highest level of language understanding and text generation. Best suited for complex scenarios where accuracy and context are critical. | Higher cost, best performance |
| GPT-4.1 Mini | A lighter, faster variant of GPT-4.1. It provides solid language capabilities at a much lower cost, making it perfect for frequent interactions or less complex tasks. | Much lower cost than GPT-4.1, great for frequent interactions |
| GPT-4.1 Nano | The most lightweight model in the GPT-4.1 series. Designed for simple tasks, quick replies, or when running costs must be kept minimal. | Lowest cost, designed for maximum efficiency |
| GPT-4o | A specialized version of GPT-4, optimized for certain tasks or industries, offering targeted performance improvements. | Very high cost (second only to GPT-4 legacy), best for rich multimodal applications |
| GPT-4o Mini | A smaller, more efficient variant of GPT-4o, designed for applications requiring less computational power while still benefiting from targeted optimizations. | Much lower cost than GPT-4o, good balance between performance and efficiency |
2. Maximum Number of Tokens
Section titled “2. Maximum Number of Tokens”Definition: Tokens are the pieces of words that the AI uses to process and generate responses. The maximum number of tokens setting controls the length of the responses.
Impact: A higher token limit allows for longer, more detailed responses. A lower limit restricts the length, making responses shorter and potentially more concise.
How to Configure:
Section titled “How to Configure:”- Locate the Maximum Number of Tokens setting in the AI Settings.
- Enter the desired number of tokens, up to a maximum of 9999 (e.g., 100, 200, 500).

3. Temperature
Section titled “3. Temperature”Definition: Temperature controls the randomness of the AI’s responses. A lower temperature makes the responses more deterministic and focused, while a higher temperature makes them more creative and varied.
Impact: Adjusting the temperature helps balance between consistency and creativity in responses.
How to Configure:
Section titled “How to Configure:”- Locate the Temperature setting.
- Set the temperature value (e.g., 0.2 for more focused responses, 0.8 for more creative responses).
4. Chunks
Section titled “4. Chunks”Definition: Chunks are portions of content that the AI uses to create responses. Breaking content into chunks helps the AI process information more efficiently.
Impact: Proper chunking ensures the AI can handle large documents or datasets without performance issues.
How to Configure:
Section titled “How to Configure:”- Locate the Chunks setting.
- Define the size of the chunks, from 1 to 10.
5. System Context
Section titled “5. System Context”Definition: System context provides the AI with background information or guidelines that influence its behavior and responses. It sets the overall tone and direction for the AI.
Impact: A well-defined system context helps the AI understand its role and the type of responses it should generate.
How to Configure:
Section titled “How to Configure:”- Locate the System Context setting.
- Enter the context information, such as “You are a helpful customer support assistant.”
AI Agent Fine-tuning & Prompt
Section titled “AI Agent Fine-tuning & Prompt”Now that you’ve set your AI preferences, you can go even further and start drafting your prompt within the Flow. Please note that every AI Agent you create can have different AI settings if you so prefer.
Definition: The prompt is the initial instruction provided to the AI, guiding it on how to generate responses based on user input.
Impact: The prompt shapes the AI’s initial understanding and response generation.
How to Configure:
Section titled “How to Configure:”- Go to the Design Studio, and locate the Prompt field within any AI action (e.g. Ask Knowledge Base, ChatGPT Task, AI Assistant).
- Enter a clear and concise prompt, based on what you’d like to achieve with a specific AI agent, as below.

Configuring AI Settings - Recap
Section titled “Configuring AI Settings - Recap”- Access AI Settings: Go to the gears icon for the AI Settings under the Knowledge Bases tab.
- Adjust Maximum Number of Tokens: Set the desired token limit based on the complexity and length of responses you need.
- Set Temperature: Choose a temperature value that balances creativity and consistency.
- Define Chunks: Determine the appropriate chunk size to optimize performance.
- Input System Context: Provide relevant background information or guidelines to shape the AI’s behavior.
Conclusion
Section titled “Conclusion”Configuring the AI settings for your Knowledge Base on Pingstreams allows you to fine-tune the AI agent’s behavior and response quality. By understanding and adjusting the maximum number of tokens, temperature, chunks, system context, and prompt, you can enhance the effectiveness and efficiency of your AI Agent.