mcp_openai_chat
Generate text completions using OpenAI's ChatGPT API, enabling context-aware responses for queries and conversations within the Ontology MCP server.
Instructions
OpenAI ChatGPT API를 사용하여 텍스트 완성을 생성합니다
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max_tokens | No | 생성할 최대 토큰 수 | |
messages | Yes | 대화 메시지 배열 | |
model | Yes | 사용할 모델 (예: gpt-4, gpt-3.5-turbo) | |
temperature | No | 샘플링 온도(0-2) |
Input Schema (JSON Schema)
{
"properties": {
"max_tokens": {
"description": "생성할 최대 토큰 수",
"type": "number"
},
"messages": {
"description": "대화 메시지 배열",
"items": {
"properties": {
"content": {
"type": "string"
},
"role": {
"enum": [
"system",
"user",
"assistant"
],
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"type": "array"
},
"model": {
"description": "사용할 모델 (예: gpt-4, gpt-3.5-turbo)",
"type": "string"
},
"temperature": {
"description": "샘플링 온도(0-2)",
"maximum": 2,
"minimum": 0,
"type": "number"
}
},
"required": [
"model",
"messages"
],
"type": "object"
}