Nexhina 国际版
    • 开始使用
      • 产品简介
      • 快速入门
      • 在 AI 编程工具中使用 Nexhina
    • 开始使用 Copy
      • 产品简介
      • 快速入门
      • 在 AI 编程工具中使用 Nexhina
    • API 接口
      • 接口调用说明
        • 快速开始
        • 获取 API Key
        • 鉴权方式
        • 请求地址
        • 错误码说明
        • 流式输出说明
      • Chat
        • 对话补全
      • Models
        • 列出可用模型
      • Responses
        • Responses API
      • Embeddings
        • 文本向量化
      • Images
        • 生成图像
      • Audio
        • 文本转语音(TTS)
        • 语音转文本(STT)
        • 语音翻译
      • Video
        • 生成视频
      • Moderation
        • 内容审核
      • Rerank
        • 重排序
    • 平台相关
      • 常见问题
      • 平台协议
      • 隐私政策
    • Schemas
      • ChatRequest
      • Log
      • ChatMessage
      • ToolCall
      • User
      • FunctionDefinition
      • Channel
      • ToolDefinition
      • Token
      • ChatCompletionRequest
      • Redemption
      • ChatCompletionChoice
      • ChatCompletionResponse
      • ChatCompletionChunk
      • ResponseInputText
      • ResponseRequest
      • ResponseOutputText
      • ResponseOutputMessage
      • ResponseObject
      • EmbeddingRequest
      • EmbeddingData
      • EmbeddingResponse
      • ImageGenerationRequest
      • ImageData
      • ImageUsageInputTokensDetails
      • ImageUsage
      • ImageGenerationResponse
      • SpeechRequest
      • TranscriptionRequest
      • TranslationRequest
      • TranscriptionResponse
      • TranslationResponse
      • VideoGenerationRequest
      • VideoData
      • VideoGenerationResponse
      • ModerationRequest
      • ModerationCategory
      • ModerationResult
      • ModerationResponse
      • RerankRequest
      • RerankResult
      • RerankResponse

    ChatCompletionChoice

    {
        "index": 0,
        "message": {
            "role": "system",
            "content": "string",
            "name": "string",
            "tool_call_id": "string",
            "tool_calls": [
                {
                    "id": "string",
                    "type": "function",
                    "function": {
                        "name": "string",
                        "arguments": "string"
                    }
                }
            ]
        },
        "finish_reason": "stop",
        "logprobs": {}
    }
    Built with