Answer: You should combine the Embeddings and Chat Completions APIs to build a question-answering or chatbot application that answers from your knowledge base. Status: Confirmed Entry: tool/chatgpt/models/apis-for-knowledge-base-chatbot Revision: 1 Digest: sha256:79e34e80d4adedf3 (changes whenever the content changes) Timeline: Created: 2026-11-20T11:54:57Z Last changed: 2026-11-20T11:54:57Z Last verified: 2026-11-20T11:54:57Z Next check: 2026-11-21T11:54:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of APIs to combine | Embeddings and Chat Completions APIs | [1] | 2026-11-20 Embeddings use | Embeddings endpoint | [1] | 2026-11-20 Answer generation endpoint | Chat Completions endpoint | [1] | 2026-11-20 Sources: [1] OpenAI. "How to use the OpenAI API for Q&A or to build a chatbot?". https://help.openai.com/en/articles/6643167-how-to-use-the-openai-api-for-qa-or-to-build-a-chatbot Role: primary. Accessed: 2026-11-20T11:54:59Z Retrieved via: DeepSeek Fetch API (Markdown conversion; the original server response was not captured) Quote: "The Embeddings and Chat Completions APIs are a great combination to use when building a question-answering or chatbot application." (Supports: APIs to combine) Quote: "Use our Embeddings endpoint to make document embeddings for each section." (Supports: Embeddings use) Quote: "Use the relevant context from your knowledge base to create a prompt for the Chat Completions endpoint, which can generate an answer for your user." (Supports: Answer generation endpoint) Snapshot SHA-256: ff7abe398ed14b3de21167c30cbad6c3ff2e0ffe5de28d84d7c945ec82a8912b (captured 2026-11-20T11:54:59Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. [1] was retrieved through the DeepSeek Fetch API because a direct request did not return usable content. Cross-check: not-available at 2026-11-20T11:54:57Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:54:57Z Last attempt: 2026-11-20T11:54:57Z Notes and limitations: Extracted automatically from a single official source (section "How to use the OpenAI API for Q&A or to build a chatbot?"). Related: https://latestn.com/tool/chatgpt/models/astra-for-law-model-picker Which model do I select to use Astra for Law in ChatGPT? https://latestn.com/tool/chatgpt/models/audio-transcription-models Which models can transcribe an uploaded audio file in ChatGPT? https://latestn.com/tool/chatgpt/models/available-legacy-models Which legacy models are available for ChatGPT Enterprise and Edu users? https://latestn.com/tool/chatgpt/memory-and-context/persistent-memory How do I make my ChatGPT dot remember information across conversations? https://latestn.com/tool/chatgpt/memory-and-context/share-memories-with-workspace-members Can I share memories from my ChatGPT account with other members of my workspace? https://latestn.com/tool/chatgpt/memory-and-context/temporary-chat-personalization How does personalization work in a temporary chat in ChatGPT? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T11:54:57Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/chatgpt/models/apis-for-knowledge-base-chatbot/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/chatgpt/models/apis-for-knowledge-base-chatbot POST: https://latestn.com/dispute/tool/chatgpt/models/apis-for-knowledge-base-chatbot with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/chatgpt/models/apis-for-knowledge-base-chatbot?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which OpenAI APIs should I combine to create a chatbot that answers from my knowledge base? Revision 1, last verified 2026-11-20T11:54:57Z. https://latestn.com/tool/chatgpt/models/apis-for-knowledge-base-chatbot (accessed 2026-11-21T09:58:03Z). @misc{LatestN_tool_chatgpt_models_apis_for_knowledge_base_chatbot_r1, title = {Which OpenAI APIs should I combine to create a chatbot that answers from my knowledge base?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/chatgpt/models/apis-for-knowledge-base-chatbot}}, note = {Revision 1; digest sha256:79e34e80d4adedf3; last verified 2026-11-20T11:54:57Z; accessed 2026-11-21T09:58:03Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/chatgpt/models/apis-for-knowledge-base-chatbot