KBO-GPT (한국 프로 야구 분석 GPT) - Korean Baseball GPT
KBO-GPT (한국 프로 야구 분석 GPT) - Korean Baseball GPT · GPT アクション
Conversation History API
대화 내역을 저장하고 조회하는 API.
POST /대화 내역 저장
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"title": "Conversation History API",
"description": "대화 내역을 저장하고 조회하는 API.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://notolab.64bit.kr/conversations",
"description": "메인 서버"
}
],
"paths": {
"/": {
"post": {
"operationId": "saveConversation",
"summary": "대화 내역 저장",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"conversationId": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sender": {
"type": "string"
},
"message": {
"type": "string"
},
"timestamp": {
"type": "string"
}
}
}
}
}
}
}
}
},
"responses": {
"201": {
"description": "저장 성공, 감사 표하기"
}
}
}
}
},
"components": {
"schemas": {
"Conversation": {
"type": "object",
"properties": {
"conversationId": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Message"
}
}
}
},
"Message": {
"type": "object",
"properties": {
"sender": {
"type": "string"
},
"message": {
"type": "string"
},
"timestamp": {
"type": "string"
}
}
}
}
}
}