Ontology MCP

mcp_gemini_chat_completion

Generate chat completions using the Gemini AI model. Input includes model ID, message history, and parameters like temperature and token limits to customize responses for diverse applications.

Instructions

Gemini AI 모델을 사용하여 채팅 대화를 완성합니다.

Input Schema

NameRequiredDescriptionDefault
max_tokensNo생성할 최대 토큰 수
messagesYes대화 메시지 목록
modelYes사용할 Gemini 모델 ID (예: gemini-pro, gemini-1.5-pro 등)
temperatureNo생성 랜덤성 정도 (0.0 - 2.0)
topKNo각 위치에서 고려할 최상위 토큰 수
topPNo확률 질량의 상위 비율을 선택하는 임계값

Input Schema (JSON Schema)

{ "properties": { "max_tokens": { "default": 1024, "description": "생성할 최대 토큰 수", "type": "number" }, "messages": { "description": "대화 메시지 목록", "items": { "properties": { "content": { "description": "메시지 내용", "type": "string" }, "role": { "description": "메시지 작성자 역할 (system, user, assistant)", "enum": [ "system", "user", "assistant" ], "type": "string" } }, "required": [ "role", "content" ], "type": "object" }, "type": "array" }, "model": { "description": "사용할 Gemini 모델 ID (예: gemini-pro, gemini-1.5-pro 등)", "type": "string" }, "temperature": { "default": 0.7, "description": "생성 랜덤성 정도 (0.0 - 2.0)", "type": "number" }, "topK": { "default": 40, "description": "각 위치에서 고려할 최상위 토큰 수", "type": "number" }, "topP": { "default": 0.95, "description": "확률 질량의 상위 비율을 선택하는 임계값", "type": "number" } }, "required": [ "model", "messages" ], "type": "object" }
ID: mxvujkgabm