Call Prompt
Authentication
Query parameters
Request
If true, tokens will be sent as data-only server-sent events. If num_samples > 1, samples are streamed back independently.
Path of the Prompt, including the name. This locates the Prompt in the Humanloop filesystem and is used as as a unique identifier. For example: folder/name or just name.
Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
End-user ID related to the Log.
Whether the request/response payloads will be stored on Humanloop.
Include the log probabilities of the top n tokens in the provider_response
Response
Controls how the model uses tools. The following options are supported:
'none'means the model will not call any tool and instead generates a message; this is the default when no tools are provided as part of the Prompt.'auto'means the model can decide to call one or more of the provided tools; this is the default when tools are provided as part of the Prompt.'required'means the model must call one or more of the provided tools.{'type': 'function', 'function': {name': <TOOL_NAME>}}forces the model to use the named function.
Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
End-user ID related to the Log.
Whether the request/response payloads will be stored on Humanloop.