Changing Room Settings

This section of the documentation provides a guide on how to adjust room settings in ChatGPTFirewall, specifically focusing on customizing ChatGPT responses and the size of the answers you receive. Understanding these settings will enhance your ability to interact with your data effectively.

Customizing the ChatGPT Prompt

In ChatGPTFirewall, each question you ask is sent to ChatGPT along with a predefined prompt that helps tailor the responses you receive. Here's how you can customize this prompt:

  1. Locate the Prompt Text Area: Within the room settings, you'll find a text area dedicated to the ChatGPT prompt. This prompt is appended to every question and the set of answers forwarded to ChatGPT for processing.

  2. Adjusting the Default Prompt: Below the prompt text area, a selector allows you to switch between the default prompts in German and English. Select the language that best fits the majority of your data or your preference for receiving responses.

  3. Personalizing the Prompt: You are encouraged to adjust the prompt to suit your specific needs. Remember, the questions and answers generated from your interactions in the application will be automatically appended to the end of this customized prompt. Tailoring the prompt can significantly influence the relevance and context of ChatGPT's responses to your queries.

Adjusting the Answer Context Size

Another crucial setting you can modify is the amount of context included with each answer:

  1. Context Expansion Defined: The application identifies tokens in your files that closely match your question. Sometimes, the most relevant information might span across multiple sentences, not fully captured by the initial token match.

  2. How to Adjust Context Size: You have the option to expand the context around the original answer token. This expansion adds sentences both before and after the identified answer to create a broader context.

  3. Configuring the Number of Sentences: You can specify the extent of this expansion by selecting the number of additional sentences to include around the original answer. This can range from 0 additional sentences (only the original sentence is shown) up to 4 additional sentences on both sides (4 before and 4 after the original sentence), making the context significantly larger.

  4. Limitations and Considerations: The limit is set to a maximum of 4 additional sentences on each side to prevent the context from becoming overly extensive, which might dilute the focus of the response. While a larger context can yield more precise answers by providing more background information, it's important to consider whether the expanded context maintains the relevance and clarity of the answer.

Summary

Adjusting the room settings, specifically the prompt customization and the answer context size, is crucial for tailoring ChatGPTFirewall's response mechanism to your specific needs. By carefully setting the number of additional sentences for context expansion, you ensure that the answers you receive are both comprehensive and focused, enhancing your interaction with the data. Experimentation with these settings may be necessary to find the optimal configuration for your particular use case.

Last updated