Giskard RAGET Test Set Generator

This node utilizes the provided knowledge base and the task description of the RAG system to automatically generate a diverse set of test questions that are designed to assess the performance of various components of the RAG system, such as the retriever, generator, and knowledge base quality. The questions target specific aspects of the RAG system, helping to identify potential weaknesses and areas for improvement.

The different types of questions include

  • Simple questions: Simple questions generated from an excerpt of the knowledge base.
  • Complex questions: More complex questions that use paraphrasing.
  • Distracting questions: Questions containing distracting information to test the retrieval part of the RAG system.
  • Situational questions: Questions that include context information to evaluate if the system can produce answers relevant to the context.
  • Double questions: Questions consisting of two separate parts.

This node does not support Giskard's conversational questions yet.

For more details and examples refer to the Giskard documentation

The output table has the columns

  • Question: The generated question.
  • Reference Answer: A reference answer to the question.
  • Reference Context: The context used to create the reference answer.
  • Metadata: Additional information specific to the type of question.

Options

Data

Documents

The column containing the documents in the knowledge base.

Embeddings

The column containing the embeddings in the knowledge base.

Test Set

RAG System Description

A brief description of the RAG system to be evaluated. This information will be used to generate appropriate test questions tailored to the system.

Number of Questions

Specifies the number of test questions to generate.

Input Ports

Icon

A configured Chat Model used to generate question from the provided knowledge base.

Icon

A configured Embedding Model used to embed queries to find related documents.

Icon

A table containing documents and their embedded representations that are utilized by the RAG system.

Output Ports

Icon

The generated test set.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.