|
| 1 | +# Examples |
| 2 | + |
| 3 | +This folder contains example CocoIndex projects, designed to help you learn CocoIndex features and inspire you to build powerful indexing solutions. |
| 4 | + |
| 5 | +Check out our [examples documentation](https://cocoindex.io/docs/examples) for more details. |
| 6 | + |
| 7 | +## Vector Search & Embedding |
| 8 | + |
| 9 | +- 📄 [**text_embedding**](./text_embedding) - Build text embedding index from local markdown files and perform semantic search |
| 10 | +- 📄 [**text_embedding_lancedb**](./text_embedding_lancedb) - Build text embedding index with LanceDB as vector database |
| 11 | +- 📄 [**text_embedding_qdrant**](./text_embedding_qdrant) - Build text embedding index with Qdrant as vector database |
| 12 | +- 📄 [**pdf_embedding**](./pdf_embedding) - Build embedding index from PDF files and query with natural language |
| 13 | +- 🖼️ [**image_search**](./image_search) - Build live image search using multimodal embedding models |
| 14 | +- 🖼️ [**pdf_elements_embedding**](./pdf_elements_embedding) - Extract text and images from PDFs and build multimodal search |
| 15 | +- 🖼️ [**multi_format_indexing**](./multi_format_indexing) - Build visual document index from PDFs and images with ColPali |
| 16 | +- 👤 [**face_recognition**](./face_recognition) - Recognize faces in images and build embedding index |
| 17 | + |
| 18 | +## Cloud Storage Sources |
| 19 | + |
| 20 | +- ☁️ [**amazon_s3_embedding**](./amazon_s3_embedding) - Build embedding index from Amazon S3 bucket with continuous sync |
| 21 | +- ☁️ [**azure_blob_embedding**](./azure_blob_embedding) - Build embedding index from Azure Blob Storage with continuous sync |
| 22 | +- ☁️ [**gdrive_text_embedding**](./gdrive_text_embedding) - Build embedding index from Google Drive files with real-time sync |
| 23 | + |
| 24 | +## Code & Documentation |
| 25 | + |
| 26 | +- 💻 [**code_embedding**](./code_embedding) - Build real-time index for codebase using Tree-sitter for syntax-aware chunking |
| 27 | +- 📚 [**docs_to_knowledge_graph**](./docs_to_knowledge_graph) - Build real-time knowledge graph from documents using LLM to extract relationships |
| 28 | + |
| 29 | +## Structured Data Extraction |
| 30 | + |
| 31 | +- 🏥 [**patient_intake_extraction**](./patient_intake_extraction) - Extract structured data from patient intake forms (PDF, Docx) using LLM |
| 32 | +- 🏥 [**patient_intake_extraction_baml**](./patient_intake_extraction_baml) - Extract structured data from patient intake PDFs using BAML |
| 33 | +- 📖 [**manuals_llm_extraction**](./manuals_llm_extraction) - Extract structured information from PDF manuals using Ollama |
| 34 | +- 📄 [**paper_metadata**](./paper_metadata) - Extract metadata (title, authors, abstract) from research papers in PDF |
| 35 | + |
| 36 | +## Custom Sources & Targets |
| 37 | + |
| 38 | +- 🌐 [**custom_source_hn**](./custom_source_hn) - Custom source example: index HackerNews content via API |
| 39 | +- 🌐 [**hn_trending_topics**](./hn_trending_topics) - Extract trending topics from HackerNews using LLM |
| 40 | +- 📝 [**custom_output_files**](./custom_output_files) - Export markdown files to local HTML with custom targets |
| 41 | + |
| 42 | +## Database Integration |
| 43 | + |
| 44 | +- 🗄️ [**postgres_source**](./postgres_source) - Use Postgres tables as source for CocoIndex flows |
| 45 | + |
| 46 | +## Production & Deployment |
| 47 | + |
| 48 | +- 🐳 [**fastapi_server_docker**](./fastapi_server_docker) - Run docker container with FastAPI query endpoint |
| 49 | +- 🔄 [**live_updates**](./live_updates) - Demonstrates live update feature to keep index synchronized with local directory |
| 50 | + |
| 51 | +## Recommendation Systems |
| 52 | + |
| 53 | +- 🛍️ [**product_recommendation**](./product_recommendation) - Build real-time recommendation engine with LLM and graph database |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +> **Note**: New to CocoIndex? Check out the [Getting Started](https://cocoindex.io/docs/getting_started) guide first! |
| 58 | +> |
| 59 | +> **Contribute**: We welcome contributions! Submit a [pull request](https://github.com/cocoindex-io/cocoindex/pulls) to add more examples. |
0 commit comments