Skip to main content

Creating and managing prompts

Adding a New Prompt

  1. Open the Prompt studio project. At the bottom of the Document Parser section, click on the "+ Prompt" button.

  2. After clicking the "+ Prompt" button, you can enter a new prompt in the text field that appears. Each prompt should have a key and the Question.

    • The example shown in the screenshot has prompts like:
      • "account_holder_name" is the key (followed by a question "What is the name of the account holder?")
      • "balance" is the key (followed by a question "What is the new available balance?")
info

The Key should follow JSON standards: only lowercase characters, numbers, and underscores are allowed.

  1. Run the prompt to get the results.

img Prompt Studio project

Creating Effective Prompts

  1. Enter a descriptive prompt key: First, enter a descriptive key for your prompt (e.g., "account_holder_name").

  2. Add a descriptive question: Below the key, add a clear question that explains what information you're trying to extract (e.g., "What is the name of the account holder?").

Working with Prompt Results

  • The system will process your prompt using the configured LLM (in the example, it shows "gpt-4o").
  • Results appear below each prompt (e.g., "JOSEPH PAULSON" for the account holder name).
  • You can see performance metrics like token usage, processing time, and cost.
  • Prompts can be enabled/disabled using the toggle button labeled "Enabled".