RecipesAPI Reference
Log In
API Reference

Submit a golden question set for knowledge base evaluation

Allows submission of a “golden set” of question-answer pairs to evaluate the accuracy and relevance of one or more knowledge bases. The request body must contain two parallel arrays: questions and goldenAnswers, where element N in questions corresponds to element N in goldenAnswers. The service will execute each question against the specified knowledge base(s), compute matching scores against the provided golden answers, and return detailed evaluation results including the model’s top answer and a numeric score.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Questions and corresponding golden answers to evaluate

questions
array of strings
required

Ordered list of questions to evaluate

questions*
goldenAnswers
array of strings
required

Ordered list of expected “gold standard” answers

goldenAnswers*
knowledgeBaseIds
array of strings

Optional list of KB IDs against which to run the evaluation

knowledgeBaseIds
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json