Create Eval
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
messages
This is the mock conversation that will be used to evaluate the flow of the conversation.
Mock Messages are used to simulate the flow of the conversation
Evaluation Messages are used as checkpoints in the flow where the model's response to previous conversation needs to be evaluated to check the content and tool calls
type
This is the type of the eval.
Currently it is fixed to chat.mockConversation
.
Allowed values:
name
This is the name of the eval.
It helps identify what the eval is checking for.
description
This is the description of the eval.
This helps describe the eval and its purpose in detail. It will not be used to evaluate the flow of the conversation.
Response
messages
This is the mock conversation that will be used to evaluate the flow of the conversation.
Mock Messages are used to simulate the flow of the conversation
Evaluation Messages are used as checkpoints in the flow where the model's response to previous conversation needs to be evaluated to check the content and tool calls
id
orgId
createdAt
updatedAt
type
This is the type of the eval.
Currently it is fixed to chat.mockConversation
.
Allowed values:
name
This is the name of the eval.
It helps identify what the eval is checking for.
description
This is the description of the eval.
This helps describe the eval and its purpose in detail. It will not be used to evaluate the flow of the conversation.