MCPcopy Index your code
hub / github.com/lm-sys/FastChat / ChatMessage

Class ChatMessage

fastchat/protocol/openai_api_protocol.py:77–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77class ChatMessage(BaseModel):
78 role: str
79 content: str
80
81
82class ChatCompletionResponseChoice(BaseModel):

Callers 1

create_chat_completionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…