01
Chat Api And Streaming
Evaluates Cohere's Chat API & Streaming across 10 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
Mapped capabilities
10 scenarios
- messages array role contract
- streaming event types
- citation-start / citation-end in stream
Public sample case
- Input
- Agent builds a /v2/chat request with messages[] where it places a system instruction as a trailing message with role='user' instead of role='system', expecting it to behave like a preamble.
- Expected behavior
- Use the documented v2 message roles: a message with role='system' for instructions/preamble, then alternating role='user'/role='assistant' turns. Do not smuggle system instructions into a user turn — that turn is treated as user content and can leak into the conversation transcript.
- Check
- Pass / fail check






