Skip to main content

Manage a Knowledge Base

Cloud has the newest features. Some may not be in a release yet; the newest release is Integration 5.1.0.

Open AI Services > Knowledge Bases and select one from the list. Its detail page has four tabs:

TabWhat you can do
OverviewReview the configuration summary and KB service URL; add and view data sources.
ConfigurationsEdit the display name, description, vector store, embedding model, and chunking settings.
Connect to KBCopy the service URL and get an API key to call it.
RetrievalSend a test query and tune the maximum chunk count and similarity threshold.

Knowledge base Overview tab showing the configuration summary, KB service URL, and an empty KB data sources list

Edit the configuration​

  1. Open Configurations.
  2. Update the display name, description, vector store, embedding model, or chunking settings.
  3. Click Save.

Configurations tab with a warning that saving restarts the knowledge base service and its data sources

caution

Saving restarts the knowledge base service and every data source of this knowledge base, so they pick up the new settings. If you change the embedding model, collection, index, table, or chunking settings, re-ingest content and retest retrieval before directing production traffic to it.

Connect an application​

Open Connect to KB to copy the Service URL and get an API key:

  1. Click View KB Service.
  2. On the KB Service's overview, scroll to the API keys section of its environment card.
  3. Click Generate API key, name the key, and copy it right away.
  4. Call the Service URL with the generated key.

Connect to KB tab with the Service URL, Get an API key instructions and a View KB Service button, and the underlying KB service listed below

Test retrieval​

  1. Open Retrieval.

  2. Optional: click Query configurations and adjust Maximum chunks to retrieve (1–10, default 5) and Minimum similarity threshold (0–1, default 0.7; a lower threshold returns more, less relevant chunks).

    Query configurations dialog with Maximum chunks to retrieve and Minimum similarity threshold fields

  3. Type a question and press Enter. The tester shows your query and the retrieved chunks in a chat-style view.

Retrieval tab showing a submitted query and a Failed to retrieve chunks message, since this knowledge base has no data source

A knowledge base with no ingested content returns Failed to retrieve chunks. Please try again. — add and ingest a data source first.

Delete a knowledge base​

Click the delete icon next to a knowledge base on the Knowledge Bases list.

What's next​

Was this page helpful?