Canopy
Retrieval Augmented Generation (RAG) framework and context engine powered by Pinecone - pinecone-io/canopy
The Canopy team is no longer maintaining this repository. Thank you for your support and enthusiasm for the project! If you're looking for a high quality managed RAG solution with continued updates and improvements, please check out the Pinecone Assistant. Canopy takes on the heavy lifting for building RAG applications: from chunking and embedding your text data to chat history management, query optimization, context retrieval (including prompt engineering), and augmented generation. Canopy provides a configurable built-in server so you can effortlessly deploy a RAG-powered chat application to your existing chat UI or interface. Or you can build your own, custom RAG application using the Canopy library. Canopy lets you evaluate your RAG workflow with a CLI based chat tool. With a simple command in the Canopy CLI you can interactively chat with your text data and compare RAG vs. non-RAG workflows side-by-side. Canopy implements the full RAG workflow to prevent hallucinations and augment your LLM with your own text data. Canopy has two flows: knowledge base creation and chat. In the knowledge base creation flow, users upload their documents and transform them into meaningful representations stored in Pinecone's Vector Database. In the chat flow, incoming queries and chat history are optimized to retrieve the most relevant documents, the knowledge base is queried, and a meaningful context is generated for the LLM to answer. More information about the Core Library usage can be found in the Library Documentation More information about virtual environments can be found here These optional environment variables are used to authenticate to other supported services for embeddings and LLMs. If you configure Canopy to use any of these providers - you would need to set the relevant environment variables. Output should be similar to this: In this quickstart, we will show you how to use the Canopy to build a simple question answering system using RAG (retrieval augmented generation). As a one-time setup, Canopy needs to create a new Pinecone index that is configured to work with Canopy, just run: To learn more about Pinecone indexes and how to manage them, please refer to the following guide: Understanding indexes You can load data into your Canopy index using the command: The Canopy server exposes Canopy's functionality via a REST API. Namely, it allows you to upload documents, retrieve relevant docs for a given query, and chat with your data. The server exposes a /chat.completion endpoint that can be easily integrated with any chat application. To start the server, run: Now, you should be prompted with the following standard Uvicorn message: To stop the server, simply press CTRL+C in the terminal where you started it. Canopy's CLI comes with a built-in chat app that allows you to interactively chat with your text data and compare RAG vs. non-RAG workflows side-by-side to evaluate the results In a new terminal window, set the required enviro
Guidance
A guidance language for controlling large language models. - guidance-ai/guidance
I cannot provide a meaningful summary about user opinions on "Guidance" based on the provided social mentions. The mentions appear to be from various unrelated topics (political investigations, immigration surveillance, AI benchmarking, and code updates) and don't contain any reviews or discussions specifically about a software tool called "Guidance." To provide an accurate summary of user sentiment about Guidance, I would need social mentions and reviews that actually discuss the software tool itself, including user experiences, features, pricing, and overall satisfaction.
Canopy
Guidance
Canopy
Guidance
Only in Canopy (10)
Only in Guidance (10)
Canopy
No data yet
Guidance
Canopy
Guidance