Skip to main content
在 Manus 中运行任何 Skill
一键导入

openai-sdk-subsvibe

星标1
分支0
更新时间2026年6月13日 09:26

Guide for using the OpenAI Python SDK in SubsVibe client code. Covers synchronous and asynchronous chat completion and audio transcription calls via OpenAI-compatible APIs (Ollama, vLLM, LM Studio, OpenAI), plus structured output with Pydantic, streaming responses, and tool / function calling. Invoke this when implementing transcription workers (`./client/transcribe.py`), LLM context refinement or translation (`./client/llm.py`), or any code that needs to call OpenAI-compatible HTTP endpoints for chat completions or Whisper-compatible transcription using the openai SDK. Also use this when adding structured / JSON-mode outputs with response_format, streaming tokens to the subtitle UI, function calling for glossary lookup or branching logic, debugging API client setup, handling streaming responses, error handling with retries, or configuring base URLs for custom backends.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly