## Update `knowledge_bases.update(strpath_uuid, KnowledgeBaseUpdateParams**kwargs) -> KnowledgeBaseUpdateResponse` **put** `/v2/gen-ai/knowledge_bases/{uuid}` To update a knowledge base, send a PUT request to `/v2/gen-ai/knowledge_bases/{uuid}`. ### Parameters - **uuid:** `str` - **database\_id:** `str` The id of the DigitalOcean database this knowledge base will use, optiona. - **embedding\_model\_uuid:** `str` Identifier for the foundation model. - **name:** `str` Knowledge base name - **project\_id:** `str` The id of the DigitalOcean project this knowledge base will belong to - **tags:** `List[str]` Tags to organize your knowledge base. - **uuid:** `str` ### Returns - `class KnowledgeBaseUpdateResponse` Information about an updated knowledge base - **knowledge\_base:** `Optional[APIKnowledgeBase]` Knowledgebase Description ### Example ```python from do_gradientai import GradientAI client = GradientAI() knowledge_base = client.knowledge_bases.update( path_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", ) print(knowledge_base.knowledge_base) ```