Product Docs
  • What is Dataworkz?
  • Getting Started
    • What You Will Need (Prerequisites)
    • Create with Default Settings: RAG Quickstart
    • Custom Settings: RAG Quickstart
    • Data Transformation Quickstart
    • Create an Agent: Quickstart
  • Concepts
    • RAG Applications
      • Overview
      • Ingestion
      • Embedding Models
      • Vectorization
      • Retrieve
    • AI Agents
      • Introduction
      • Overview
      • Tools
        • Implementation
      • Type
      • Tools Repository
      • Tool Execution Framework
      • Agents
      • Scenarios
      • Agent Builder
    • Data Studio
      • No-code Transformations
      • Datasets
      • Dataflows
        • Single Dataflows:
        • Composite dataflows:
        • Benefits of Dataflows:
      • Discovery
        • How to: Discovery
      • Lineage
        • Features of Lineage:
        • Viewing a dataset's lineage:
      • Catalog
      • Monitoring
      • Statistics
  • Guides
    • RAG Applications
      • Configure LLM's
        • AWS Bedrock
      • Embedding Models
        • Privately Hosted Embedding Models
        • Amazon Bedrock Hosted Embedding Model
        • OpenAI Embedding Model
      • Connecting Your Data
        • Finding Your Data Storage: Collections
      • Unstructured Data Ingestion
        • Ingesting Unstructured Data
        • Unstructured File Ingestion
        • Html/Sharepoint Ingestion
      • Create Vector Embeddings
        • How to Build the Vector embeddings from Scratch
        • How do Modify Existing Chunking/Embedding Dataflows
      • Response History
      • Creating RAG Experiments with Dataworkz
      • Advanced RAG - Access Control for your data corpus
    • AI Agents
      • Concepts
      • Tools
        • Dataset
        • AI App
        • Rest API
        • LLM Tool
        • Relational DB
        • MongoDB
        • Snowflake
      • Agent Builder
      • Agents
      • Guidelines
    • Data Studio
      • Transformation Functions
        • Column Transformations
          • String Operations
            • Format Operations
            • String Calculation Operations
            • Remove Stop Words Operation
            • Fuzzy Match Operation
            • Masking Operations
            • 1-way Hash Operation
            • Copy Operation
            • Unnest Operation
            • Convert Operation
            • Vlookup Operation
          • Numeric Operations
            • Tiles Operation
            • Numeric Calculation Operations
            • Custom Calculation Operation
            • Numeric Encode Operation
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
            • Convert Operation
            • VLookup Operation
          • Boolean Operations
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
          • Date Operations
            • Date Format Operations
            • Date Calculation Operations
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
            • Encode Operation
            • Convert Operation
          • Datetime/Timestamp Operations
            • Datetime Format Operations
            • Datetime Calculation Operations
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
            • Encode Operation
            • Page 1
        • Dataset Transformations
          • Utility Functions
            • Area Under the Curve
            • Page Rank Utility Function
            • Transpose Utility Function
            • Semantic Search Template Utility Function
            • New Header Utility Function
            • Transform to JSON Utility Function
            • Text Utility Function
            • UI Utility Function
          • Window Functions
          • Case Statement
            • Editor Query
            • UI Query
          • Filter
            • Editor Query
            • UI Query
      • Data Prep
        • Joins
          • Configuring a Join
        • Union
          • Configuring a Union
      • Working with CSV files
      • Job Monitoring
    • Utility Features
      • IP safelist
      • Connect to data source(s)
        • Cloud Data Platforms
          • AWS S3
          • BigQuery
          • Google Cloud Storage
          • Azure
          • Snowflake
          • Redshift
          • Databricks
        • Databases
          • MySQL
          • Microsoft SQL Server
          • Oracle
          • MariaDB
          • Postgres
          • DB2
          • MongoDB
          • Couchbase
          • Aerospike
          • Pinecone
        • SaaS Applications
          • Google Ads
          • Google Analytics
          • Marketo
          • Zoom
          • JIRA
          • Salesforce
          • Zendesk
          • Hubspot
          • Outreach
          • Fullstory
          • Pendo
          • Box
          • Google Sheets
          • Slack
          • OneDrive / Sharepoint
          • ServiceNow
          • Stripe
      • Authentication
      • User Management
    • How To
      • Data Lake to Salesforce
      • Embed RAG into your App
  • API
    • Generate API Key in Dataworkz
    • RAG Apps API
    • Agents API
  • Open Source License Types
Powered by GitBook
On this page
  1. Guides
  2. RAG Applications

Response History

Users can view past queries, AI responses, feedback, performance metrics (groundedness, relevance), and backend analytics (response times, errors) for deeper insights into app performance.

PreviousHow do Modify Existing Chunking/Embedding DataflowsNextCreating RAG Experiments with Dataworkz

Last updated 4 months ago

You can access the Response History in two places within the AI application:

  1. In the Analytics Tab (Main Screen):

    • On the main AI application screen, look for the Analytics tab, which is represented by a small bar chart icon next to the created AI application.

    • Clicking on this tab provides an in-depth view of your query and response history, including:

      • Feedback: Thumbs up, thumbs down, or neutral feedback for each response.

      • Response Quality Metrics: Analytics for response groundedness, context relevance, and answer relevance.

      • Retrieval Probe View: Insights into the backend processes, showing how many milliseconds each step takes to complete and identifying any errors that may have occurred.

  2. From the Search/Query Screen:

    • In the search/query screen, you can view response history by clicking a small square icon (resembling a window with a line 1/4 of the way through it vertically) located at the top left, just beneath the "Q&A" label.

    • This icon allows you to open the response history directly from the query interface, providing quick access to previously processed queries and their corresponding results.


Features of the Response History Tab

1. Query and Response Logs

  • Queries: A list of all queries you’ve submitted.

  • Responses: The AI’s responses to those queries, including the raw output.

  • Feedback: You can see how you rated each response (thumbs up, thumbs down, neutral).

2. Feedback Analysis

  • You can filter and sort responses based on feedback. For example, you might want to review only the queries that received thumbs down to assess areas for improvement.

  • Feedback Types:

    • Thumbs Up: Indicates satisfaction with the answer.

    • Thumbs Down: Indicates dissatisfaction with the response, allowing users to see what went wrong.

    • Neutral: Indicates that the response was neither particularly good nor bad.

3. Performance Metrics

The system provides performance analytics for each response to help you assess the quality of the AI's output:

  • Response Groundness: Indicates the level of factual accuracy in the response.

  • Context Relevance: Measures how well the response aligns with the context of the query.

  • Answer Relevance: Assesses whether the response is relevant and appropriate to the user's question.

4. Retrieval Probe View

  • This view provides detailed backend information about how the AI processes each query:

    • Time Metrics: Shows the time taken for each step in the query processing pipeline (in milliseconds), so you can identify any potential delays or bottlenecks.

    • Error Tracking: If any errors occurred during response generation, you’ll see an error message, which can help you troubleshoot and improve future queries.


How to Use the Response History for Deeper Insights

  1. View Response Performance:

    • Click on any query in the Response History to view detailed analytics about the response.

    • Use the provided metrics to understand the quality of the AI's response, including the factors influencing its relevance and accuracy.

    • Review any feedback provided to identify patterns, such as consistent issues with context or relevance.

  2. Identify and Troubleshoot Errors:

    • The Retrieval Probe View shows you how long each step in the response pipeline took. If there are any delays or issues, they will be highlighted.

    • If an error is present, you can use the time logs to pinpoint exactly where in the process the issue occurred and take appropriate action to fix it.

  3. Optimize Query Quality:

    • By reviewing the response history and feedback data, you can fine-tune your queries for better results. For example, if a certain type of question frequently gets poor feedback, you might adjust the way you phrase your queries.

    • The performance metrics can also give you a better idea of what aspects of the AI need improvement—whether it’s grounding the answers in fact, maintaining context, or ensuring the answers are relevant to the query.