Create Experiment

Response

datalist of objects
Array containing the chat responses.
provider_responseslist of any
The raw responses returned by the model provider.
project_idstring or null
Unique identifier of the parent project. Will not be provided if the request was made without providing a project name or id
num_samplesinteger or nullDefaults to 1
The number of chat responses.
logprobsinteger or null

Include the log probabilities of the top n tokens in the provider_response

suffixstring or null
The suffix that comes after a completion of inserted text. Useful for completions that act like inserts.
userstring or null

End-user ID passed through to provider call.

usageobject or null
Counts of the number of tokens used and related stats.
metadatamap from strings to any or null
Any additional metadata to record.
provider_requestmap from strings to any or null
The raw request sent to the model provider.
session_idstring or null
ID of the session if it belongs to one.
tool_choice"none" or "auto" or "required" or object or null

Controls how the model uses tools. The following options are supported: ‘none’ forces the model to not call a tool; the default when no tools are provided as part of the model config. ‘auto’ the model can decide to call one of the provided tools; the default when tools are provided as part of the model config. Providing {‘type’: ‘function’, ‘function’: {name’: <TOOL_NAME>}} forces the model to use the named function.