Documentation for the Goodfire Chat API
role
(“user”,
“assistant”, or “system”) and content
fields.stream=False
: ChatCompletion
objectstream=True
: Iterator of StreamingChatCompletionChunk
objectsLogitsResponse
containing token probabilities
Example: