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.

For more details and examples refer to the Giskard documentation.

The output table will contain the following 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 column

The column containing the documents in the knowledge base.

Embeddings column

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

The number of test questions to generate.

Input Ports

Icon

A configured Chat Model used to generate questions 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.