MCPcopy Create free account
hub / github.com/Azure-Samples/llama-index-python / Config

Class Config

backend/app/api/routers/models.py:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 messages: List[Message]
65
66 class Config:
67 json_schema_extra = {
68 "example": {
69 "messages": [
70 {
71 "role": "user",
72 "content": "What standards for letters exist?",
73 }
74 ]
75 }
76 }
77
78 @validator("messages")
79 def messages_must_not_be_empty(cls, v):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected