Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions paths/chat/chat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ post:
content: "Can you explain polymorphism?"
configuration: null

minimalChatAsynchronous:
summary: Asynchronous minimal chat request
value:
messages:
- role: USER
content: "Can you explain polymorphism?"
configuration: null
callbackUrl: "https://learning-platform.example.com/hooks/chat-result"

chatWithLlmConfig:
summary: Chat request with optional LLM configuration
value:
Expand Down
9 changes: 9 additions & 0 deletions paths/chat/schemas/ChatRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ properties:
- "null"
description: Optional educational context (e.g., course material, task context).
additionalProperties: true
callbackUrl:
type:
- string
- "null"
format: uri
description: >
Optional HTTPS callback URL for asynchronous processing. If provided,
the service may return 202 Accepted immediately and deliver chat/reasoning
results to this URL once processing is complete.
properties:
task:
description: Optional task grounding this conversation.
Expand Down
Loading