ChatResponse
Response from an AI chat request.
Properties
Section titled “Properties”content
Section titled “content”content:
string
Generated text content
latencyMs
Section titled “latencyMs”latencyMs:
number
Request latency in milliseconds
model:
string
Model used for generation
provider
Section titled “provider”provider:
string
Provider that served the request
tokensUsed
Section titled “tokensUsed”tokensUsed:
object
Token usage statistics
input:
number
output
Section titled “output”output:
number