Skip to main content

Publish a knowledge base and view the unique endpoint

Contributors netapp-bcammett netapp-tonacki netapp-mwallis

After you've built and tested your knowledge base locally, you can publish the knowledge base so that it can be integrated with a chatbot application that will enable your users to query the knowledge base.

About this task

Publishing the knowledge base enables you to use it in chat applications. The publish action triggers the Workload Factory API to generate and publish unique endpoints. After publishing, the knowledge base becomes accessible for chat applications, and the API endpoints are ready for integration.

Each knowledge base that you publish has unique endpoints.

Steps
  1. From the Knowledge bases inventory page, select the knowledge base that you want to publish.

  2. Select the option button and select Manage knowledge base.

    This page displays the published status, embedding status of the data sources, embedding mode, and the list of all embedded data sources.

  3. Select the Actions menu and select Publish.

    Workload Factory publishes the knowledge base. On the details page for the knowledge base, the status changes from Unpublished to Published.

    You can now get details about the unique endpoint for the knowledge base.

  4. Next to the published status, select View.

    Details about how to access the knowledge base using the Workload Factory API is displayed.

  5. From the View published info dialog box, copy the API endpoints that you can use to integrate the knowledge base with an application.

    To learn more about the API endpoints, go to the API documentation and select AI > External.

    Before you can use these endpoints, you need to obtain a user token from your authentication provider.

Result

You now have a published knowledge base and the unique endpoint that you can use to integrate the knowledge base with a chatbot application.