PUT /v2/gen-ai/knowledge_bases/{uuid}

To update a knowledge base, send a PUT request to /v2/gen-ai/knowledge_bases/{uuid}.

Servers

Path parameters

Name Type Required Description
uuid String Yes

Knowledge base id

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
project_id String No

The id of the DigitalOcean project this knowledge base will belong to

name String No

Knowledge base name

embedding_model_uuid String No

Identifier for the foundation model.

uuid String No

Knowledge base id

tags[] Array No

Tags to organize your knowledge base.

database_id String No

The id of the DigitalOcean database this knowledge base will use, optiona.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.