Home

Awesome

<a name="readme-top"></a> SycamoreLogoFinal.svg

PyPI PyPI - Python Version Slack Docs License

Sycamore is an open source, AI-powered document processing engine for ETL, RAG, LLM-based applications, and analytics on unstructured data. Sycamore can partition and enrich a wide range of document types including reports, presentations, transcripts, manuals, and more. It can analyze and chunk complex documents such as PDFs and images with embedded tables, figures, graphs, and other infographics. Check out an example notebook.

For processing documents, Sycamore leverages Aryn DocParse (formerly known as the Aryn Partitioning Service), a serverless, GPU-powered API for segmenting and labeling documents, doing OCR, extracting tables and images, and more. It leverages Aryn's state-of-the-art, open source deep learning DETR AI model trained on 80k+ enterprise documents, and it can lead to 6x more accurate data chunking and 2x improved recall on hybrid search or RAG when compared to alternate systems. You can sign-up for free here, or choose to run the Aryn Partitioner locally.

Aryn DocParse takes documents and returns the partitioned output in JSON, and you can use Sycamore for additional data extraction, enrichment, transforms, cleaning, and loading into downstream databases. You can choose the LLMs to use with these transforms.

Sycamore reliably loads your vector databases and hybrid search engines, including as OpenSearch, ElasticSearch, Pinecone, DuckDB, Qdrant and Weaviate, with higher quality data.

The Sycamore framework is built around a scalable and robust abstraction for document processing called a DocSet, and includes powerful high-level transformations in Python for data processing, enrichment, and cleaning. DocSets also encapsulate scalable data processing techniques removing the undifferentiated heavy lifting of reliably loading chunks. DocSets' functional programming approach allows you to rapidly customize and experiment with your chunking for better quality RAG results.

Untitled

Features

Demo

Introduction to Aryn DocParse (formerly known as the Aryn Partitioning Service)

Get Started

Sycamore currently runs on Linux and Mac OS. To install , run:

pip install sycamore-ai

Sycamore provides connectors to vector databases via Python extras. To install a connector, include it as an extra with your pip install. For example,

pip install sycamore-ai[duckdb]

Supported connectors include duckdb, elasticsearch, opensearch, pinecone, qdrant, and weaviate.

To use Aryn DocParse, sign-up for free here and use the API key.

Resources

Contributing

Check out our Contributing Guide for more information about how to contribute to Sycamore and set up your environment for development.

Contributors

<a href="https://github.com/aryn-ai/sycamore/graphs/contributors"> <img alt="contributors" src="https://contrib.rocks/image?repo=aryn-ai/sycamore"/> </a>

Star History

Star History Chart

<p align="right" style="font-size: 14px; color: #555; margin-top: 20px;"> <a href="#readme-top" style="text-decoration: none; color: #007bff; font-weight: bold;"> ↑ Back to Top ↑ </a> </p>