MCPcopy Create free account
hub / github.com/zai-org/ChatGLM3 / create_chat_completion

Route create_chat_completion

openai_api_demo/api_server.py:None–None  ·  view source on GitHub ↗
app.post("/v1/chat/completions", response_model=ChatCompletionResponse)

Source from the content-addressed store, hash-verified

1"""
2This script implements an API for the ChatGLM3-6B model,
3formatted similarly to OpenAI's API (https://platform.openai.com/docs/api-reference/chat).
4It's designed to be run as a web server using FastAPI and uvicorn,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected