RAG++
The AI Event
is here!
Join us to learn about a new Unstructured integration to make document upload a snap, an API that lets you integrate your Langflow application with external apps, and a new indexing partnership with Glean!
Wed, Sept 4 NYC | Tues, Sept 24 London
Generative AI Leaders Shaping Their Industries
One-Stop GenAI Stack
A RAG API with all the data, tools, and an opinionated stack that just works. Both vector and structured data, secure, compliant, scalable, and supported. Integrated with LangChain, Vercel, GitHub Copilot and AI ecosystem leaders.
Relevant GenAI FTW
Minimize hallucinations with up to 20% higher relevance, 74x faster response time, and 9x higher throughput than Pinecone all at 80% lower TCO. Read while indexing to make data updates available with zero delay.
![Relevant GenAI FTW](https://cdn.sanity.io/images/bbnkhnhl/production/cf00a629257f0df317c78c621e344314f487b612-1104x640.png?w=1920&q=75&fit=clip&auto=format)
Developers
RAG Made Easier
An intuitive API and powerful integrations for production-level RAG workloads.
Install
Install the API clients
pip install astrapy
Connect
Create or connect to your database & collections
# The DataAPIClient lets you connect to your database client = DataAPIClient("AstraCS:...") db = client.get_database( "https://<id>-<region>.apps.astra.datastax.com" ) # create_collection() will return the newly created collection collection = db.create_collection( name="collection_test", dimension=5, ) # Or you can connect to an existing connection directly collection = astra_db.get_collection("collection_test")
Insert
Insert into your vector store (collection)
collection.insert_one( { "name": "Coded Cleats", "description": "Chat bot integrated sneakers that talk to you", "$vector": [0.1, 0.15, 0.3, 0.12, 0.05], } )
Find
Find documents using vector search
documents = list(collection.find( sort={"$vector": [0.15, 0.1, 0.1, 0.35, 0.55]}, limit=100, ))
![Try For Free](https://cdn.sanity.io/images/bbnkhnhl/production/ef0190b03fa3e9f29ce5917e59b66d62c575f349-80x80.png?w=96&q=75&fit=clip&auto=format)
$300/year in free credit and no credit card required.
![Explore examples](https://cdn.sanity.io/images/bbnkhnhl/production/4667ec004fb03b637cfa26f8c4ecdb863990d6d4-80x80.png?w=96&q=75&fit=clip&auto=format)
Tutorials and sample generative AI apps with best practices.
![DOCS](https://cdn.sanity.io/images/bbnkhnhl/production/31473e08cfac78d63841a513966fd2de07689985-80x80.png?w=96&q=75&fit=clip&auto=format)
Get started in minutes with generative AI and RAG.
Fast Path to Production
Quickly take your GenAI idea into production. Deploy on the leader in production AI workloads and support global-scale on any cloud with enterprise level security and compliance.
![Fast Path to Production](https://cdn.sanity.io/images/bbnkhnhl/production/b2229756256f924e04f0a5e33d5046e39ef09a62-1104x640.png?w=1920&q=75&fit=clip&auto=format)
Shape the Wild
GenAI should be fun! An awesome developer experience for any JavaScript, Python, Java, and C++ dev to build production GenAI apps with LangChain, GitHub, Vercel, and the leading AI ecosystem partners.
![Shape the Wild](https://cdn.sanity.io/images/bbnkhnhl/production/cd8c18960d7014fc7394cbed44f38f386caa18ae-1104x641.png?w=1920&q=75&fit=clip&auto=format)