Skip to content

GenAI Knowledgebase endpoints #846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

GenAI Knowledgebase endpoints #846

wants to merge 6 commits into from

Conversation

harshmaru7
Copy link
Contributor

Implemented methods for Knowledge base endpoints for the GenAI Service

  • List Knowledge Bases
  • Create a Knowledge Base
  • List Data Sources for a Knowledge Base
  • Add Data Source to a Knowledge Base
  • Delete Data Source from a Knowledge Base
  • Retrieve Information About an Existing Knowledge Base
  • Update a Knowledge Base
  • Delete a Knowledge Base
  • Attach Knowledge Base to an Agent
  • Detach Knowledge Base from an Agent


// KnowledgeBaseDataSource represents a Gen AI Knowledge Base Data Source
type KnowledgeBaseDataSource struct {
BucketName string `json:"bucket_name,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not super clear from the docs, but it appears bucket_name and region are deprecated and moved to spaces_date_source:
Screenshot 2025-06-02 at 10 58 33 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants