# DigitalOcean Gradient AI Knowledge Bases add code-first tools in public preview

DevFeed: [DigitalOcean Gradient AI Knowledge Bases add code-first tools in public preview](<https://devfeed.tech/articles/a-more-powerful-code-first-knowledge-base-experience-on-the-digitalocean-gradienttm-ai-platform-19882.md>)

Original publisher: [Read original article](<https://www.digitalocean.com/blog/gradient-ai-knowledge-base-enhancements>)

Author: Grace Morgan

Published: 2025-12-17T19:50:21Z

Content type: release

Language: en

Sources: [DigitalOcean](<https://devfeed.tech/sources/digitalocean.md>)

Topics: [Digital Ocean](<https://devfeed.tech/topics/digital-ocean.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [AI Platform](<https://devfeed.tech/topics/ai-platform.md>), [API](<https://devfeed.tech/topics/api.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [ai-platform](<https://devfeed.tech/tags/ai-platform.md>), [api](<https://devfeed.tech/tags/api.md>), [data](<https://devfeed.tech/tags/data.md>), [digitalocean](<https://devfeed.tech/tags/digitalocean.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [files](<https://devfeed.tech/tags/files.md>), [preview](<https://devfeed.tech/tags/preview.md>), [rag](<https://devfeed.tech/tags/rag.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [sdks](<https://devfeed.tech/tags/sdks.md>)

## AI overview

DigitalOcean Gradient AI Knowledge Bases are presented in public preview with code-first tools for creating, managing, and querying knowledge bases. The enhancements cover ingestion, chunking, embedding, retrieval, direct API access, supported data sources, and citation-backed answers with metadata filters.

## Source excerpt

Building production-ready retrieval-augmented generation (RAG) systems can be complex, time-consuming, and often requires months of engineering effort. Developers and enterprises struggle to ingest diverse data sources, structure content for semantic search, and maintain accurate, verifiable answers. Enhancements to DigitalOcean Gradient™ AI Knowledge Bases, now in public preview, are designed to solve this problem. Its code-first feature lets developers create, manage, and query knowledge bases entirely from code, giving full control over ingestion, chunking, embedding, and retrieval without having to worry about the underlying infrastructure. Flexible, production-ready toolkit Many existing solutions let developers create a basic knowledge base, but they often struggle to scale, customize, or integrate it into production workflows. The improvements address this by providing a code-first, developer-focused toolkit that handles the full knowledge base lifecycle. Developers can ingest data from files, Dropbox, web crawlers, control chunking and embedding strategies, and run natural language queries that return citation-backed answers with metadata filters. With well-documented APIs and SDKs, these integrations are seamless, letting developers manage everything entirely in code. What's new in the public preview The public preview highlights the essential tools developers need to build and manage knowledge bases effectively: Direct API Access: Query knowledge bases directly without needing an agent, giving full control for integration into apps or RAG pipelines. Customizable ingestion: Ingest content from supported sources such as files, web crawlers, and Dropbox datasets. Supports structured data, sitemap crawling, and accurate parsing of complex PDFs. Flexible chunking and embedding: Choose the chunking strategy that fits your content and select from high-performance embedding models (including a multi-lingual embedding model). Intelligent defaults allow for quick se