sycamore

sycamore

šŸ Sycamore is an LLM-powered search and analytics platform for unstructured data.

Stars: 341

Visit
 screenshot

Sycamore is a conversational search and analytics platform for complex unstructured data, such as documents, presentations, transcripts, embedded tables, and internal knowledge repositories. It retrieves and synthesizes high-quality answers through bringing AI to data preparation, indexing, and retrieval. Sycamore makes it easy to prepare unstructured data for search and analytics, providing a toolkit for data cleaning, information extraction, enrichment, summarization, and generation of vector embeddings that encapsulate the semantics of data. Sycamore uses your choice of generative AI models to make these operations simple and effective, and it enables quick experimentation and iteration. Additionally, Sycamore uses OpenSearch for indexing, enabling hybrid (vector + keyword) search, retrieval-augmented generation (RAG) pipelining, filtering, analytical functions, conversational memory, and other features to improve information retrieval.

README:

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 PDFs, Sycamore leverages the Aryn Partitioning Service, a serverless, GPU-powered API for segmenting and labeling documents, doing OCR, extracting tables and images, and more. It levereages 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.

The Aryn Partitioning Service takes PDFs 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 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

  • Integrated with the Aryn Partitioning Service, using a state-of-the art vision AI model for segmentation and preserving the semantic structure of documents
  • DocSet abstraction to scalably and reliably transform and manipulate unstructured documents
  • High-quality table extraction, OCR, visual summarization, LLM-powered UDFs, and other performant Python data transforms
  • Quickly create vector embeddings using your choice of AI model
  • Helpful features like automatic data crawlers (Amazon S3 and HTTP), Jupyter notebook for writing and iterating on jobs, and an OpenSearch hybrid search and RAG engine for testing
  • Scalable Ray backend

Demo

Introduction to 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, and weaviate.

To use the Aryn Partitioning Service, 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.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for sycamore

Similar Open Source Tools

For similar tasks

For similar jobs