Add a Knowledge Base

Once you have performed prerequisite steps such as installing the recipe Oracle Integration - OpenSearch Build and Search Your Knowledge base and configured the connection to OCI Search with OpenSearch, you can add a knowledge base.

Add a Knowledge Base

  1. In the navigation pane, select Projects.
  2. Select the project you installed with the recipe Oracle Integration - OpenSearch Build and Search Your Knowledge Base.
  3. In the left navigation pane, select Knowledge Base Knowledge base icon.
  4. In the Knowledge base section, click Add .

    The Create knowledge base panel is displayed.

  5. Configure required fields for your knowledge base:
    • Name: Name for knowledge base. Provide a descriptive name so that you know what your knowledge base contains.
    • Identifier: Oracle Integration generates this value using the Name value.
    • Connection: Select the OCI Search with OpenSearch connection that you previously configured to associate with your knowledge base. This is where documents from OCI Object Storage will be ingested.
    • Embedding model:

      Use the model that best suits your use case. When you use the recipe Oracle Integration - OpenSearch Build and Search Your Knowledge Base, by default, the embedding model used is huggingface/sentence-transformers/all-mpnet-base-v2. This is a general purpose model.

      To view a summary of each model, select the Embedding model field, and click Show description View details iconnext to the embedding model. For additional information on pretrained models in OCI Search with OpenSearch, see Pretrained Models in Search with OpenSearch.

    • Description: Describe the types of documents this knowledge base contains.
  6. Click Create.
    The knowledge base is created.