智能体记忆库·元忆
智能体记忆库(元忆):AI记忆系统——智能体的长期记忆与永久记忆,跨会话上下文随时恢复;开工回忆、重要信息落盘、收工归档;语义检索 + 权限边界,零依赖
目录 / 搜索检索 / gpt
--- name: gpt description: Call GPT generation and OpenAI text embedding models through RunAPI using OpenAI-compatible clients. Use for chat, Responses, embeddings, streaming, tools, vision, or an existing compatibility client that needs the conditional reference. documentation: https://runapi.ai/models/gpt.md provider_page: https://runapi.ai/providers/openai.md catalog: https://runapi.ai/models.md metadata: openclaw: homepage: https://runapi.ai/models/gpt primaryEnv: OPENAI_API_KEY requires: env: [OPENAI_API_KEY, OPENAI_BASE_URL] envVars: - {name: OPENAI_API_KEY, required: true, description: RunAPI API key used by OpenAI-compatible clients.} - {name: OPENAI_BASE_URL, required: true, description: Set to https://runapi.ai/v1 for GPT on RunAPI.} --- # GPT on RunAPI Use OpenAI-compatible clients at `https://runapi.ai/v1` as the primary protocol. ## Primary protocol recipe ### Authenticate Set `OPENAI_API_KEY` to a RunAPI API key and `OPENAI_BASE_URL` to `https://runapi.ai/v1`. ### Send request ```python from openai import OpenAI client = OpenAI(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai/v1") response = client.responses.create(model="gpt-5.5", input="Summarize this review.") print(response.output_text) print(response.usage) ``` Use `client.chat.completions.create` for `gpt-5.2`, which does not accept Responses. Use Responses for `gpt-5.*-pro`. Use `client.embeddings.create` only with the three embedding model IDs below. For streaming Responses, set `stream=True` and consume through one usage-bearing `response.completed` followed by `[DONE]`. For `gpt-5.6-luna`, `gpt-5.6-sol`, and `gpt-5.6-terra`, start with text input, sync or SSE transport, parameterized custom functions, and automatic prompt caching. Add reasoning controls, multimodal input, hosted tools, or continuation state only when the current RunAPI contract verifies that shape. ### Verify result Responses require final output, `response.completed`, and `usage`. Chat requires final assistant content, `finish_reason`, and `usage`. Embeddings require one numeric vector per input and response `usage`. ### Stop boundaries Correct a rejected shape once using the current error and endpoint contract. Retry transport once only before any response or Usage and when replay is safe. Record a terminal error and stop without changing model, endpoint, or protocol. Keep embedding models on `/v1/embeddings`. ## Compatibility protocols Load [compatibility protocols](references/compatibility-protocols.md) only when an existing client requires Anthropic Messages or Gemini contents. ## Live audio `gpt-live-1` is available only on the dedicated Live transport. Use WebRTC with `POST /v1/live/webrtc` and a client SDP offer, or WebSocket with `GET /v1/live/websocket` and a first `session.start` frame. Live sessions may delegate backend work through `delegation.type: responses` or return function work through `delegation.type: client`. Responses delegation accepts hosted tools on both transports and `function` tools on WebSocket: delegated events arrive wrapped in `response.event`, a function call arrives as a nested `response.output_item.done`, and the client answers with `response.item.create` (`function_call_output`) followed by `response.create`. Chat Completions and Responses calls do not accept this model. ## Supported models | Model ID | Use when | |---|---| | `gpt-5.5` | Latest general model | | `gpt-5.4` | Production default | | `gpt-5.4-mini` | Cost-optimized | | `gpt-5.4-nano` | Smallest, fastest | | `gpt-5.2` | Cost-effective | | `gpt-4.1` | Non-reasoning chat; image input on Chat Completions only | | `gpt-4.1-mini` | Lower-cost GPT-4.1; image input on Chat Completions only | | `gpt-4o-mini` | — | | `gpt-5.6-luna` | Text and parameterized functions in the consistently available Responses subset | | `gpt-5.6-sol` | Text and parameterized functions in the consistently available Responses subset | | `gpt-5.6-terra` | Text and parameterized functions in the consistently available Responses subset | | `gpt-6-astra` | — | | `codex-auto-review` | — | | `gpt-5-pro` | Text-only analysis and coding with the Responses API; other input modalities await billing review | | `gpt-6-sol` | — | | `gpt-6.1-sol` | — | | `gpt-6.1-terra` | — | | `gpt-6-luna` | — | | `text-embedding-3-large` | High-capacity vectors | | `text-embedding-3-small` | Efficient vectors | | `text-embedding-ada-002` | Legacy-compatible vectors | ## References - <https://runapi.ai/models/gpt.md> - <https://runapi.ai/providers/openai.md> - <https://runapi.ai/models.md>
| 版本 | 存档时间 | 内容哈希 | 内容 |
|---|---|---|---|
| v1 | 2026-09-21 19:29 | cefcce90 | 已过保留期 |
| v2 | 2026-09-28 23:45 | e3b4714b | 已过保留期 |
| v3 | 2026-09-29 20:55 | f1789249 | 已过保留期 |
| v4 | 2026-10-01 07:32 | 64c7b1f3 | 已过保留期 |
| v5 | 2026-10-03 23:33 | cefcce90 | 已过保留期 |
| v6 | 2026-11-05 00:08 | 813876c3 | 可取 |
版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。
智能体记忆库(元忆):AI记忆系统——智能体的长期记忆与永久记忆,跨会话上下文随时恢复;开工回忆、重要信息落盘、收工归档;语义检索 + 权限边界,零依赖
将 Qdrant(高性能向量数据库与检索引擎)转译为一套“把向量检索做成可运维的生产组件”方法论,帮助团队在 RAG/搜索/去重场景中正确建模、调参与扩缩,区别于泛化的 RAG 方法论,聚焦向量库本身的工程实践
Enables local hybrid memory search and embedding using QMD to reduce API costs by $50-300/month with automatic setup, sm…
统一查询本地研究资料库,默认同时搜索 AlphaPai 归档和 knowledge_bases,支持精确检索、向量检索和混合检索,并默认排除 private 资料库如 personal
skill huaweicloud/huaweicloud-skills/huawei-cloud-openviking-embedding-switch
250+ Fine-tuning & RL Notebooks for text, vision, audio, embedding, TTS models
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。