Skip to main content

5 posts tagged with "Examples"

CocoIndex examples and implementation guides

View All Tags

Build Real-Time Knowledge Graph For Documents with LLM

7 min read

CocoIndex makes it easy to build and maintain knowledge graphs with continuous source updates. In this blog, we will process a list of documents (using CocoIndex documentation as an example). We will use LLM to extract relationships between the concepts in each document. We will generate two kinds of relationships:

  1. Relationships between subjects and objects. E.g., "CocoIndex supports Incremental Processing"
  2. Mentions of entities in a document. E.g., "core/basics.mdx" mentions CocoIndex and Incremental Processing.

The source code is available at CocoIndex Examples - docs_to_knowledge_graph.

Example knowledge graph showing relationships between concepts in CocoIndex documentation

Build text embeddings from Google Drive for RAG

8 min read

Text Embedding from Google Drive

In this blog, we will show you how to use CocoIndex to build text embeddings from Google Drive for RAG step by step including how to setup Google Cloud Service Account for Google Drive. CocoIndex is an open source framework to build fresh indexes from your data for AI. It is designed to be easy to use and extend.

Index codebase for RAG

8 min read

Code Indexing for RAG

In this blog, we will show you how to index codebase for RAG with CocoIndex. CocoIndex is a tool to help you index and query your data. It is designed to be used as a framework to build your own data pipeline. CocoIndex provides built-in support for code base chunking, with native Tree-sitter support.