Your GenAI Second Brain 🧠 A personal productivity assistant (RAG) 🤖 Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, that you can share with users ! Local & Private alternative
Go to file
Jacopo Chevallard 8c7277e9ec
chore: docs on quivr-core workflows (#3420)
# Description

Added some initial documentation on RAG workflows, including also some
nice Excalidraw diagrams

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-10-23 11:12:23 +02:00
.github fix(rye): workflow (#3404) 2024-10-21 05:28:42 -07:00
.vscode feat: introducing configurable retrieval workflows (#3227) 2024-09-23 09:11:06 -07:00
core chore(main): release core 0.0.22 (#3410) 2024-10-21 08:39:12 -07:00
docs chore: docs on quivr-core workflows (#3420) 2024-10-23 11:12:23 +02:00
examples feat(ask): non-streaming now calls streaming (#3409) 2024-10-21 08:30:34 -07:00
.gitignore docs(fix): fixed warnings from griffe (#3381) 2024-10-16 02:48:33 -07:00
.pre-commit-config.yaml feat: introducing configurable retrieval workflows (#3227) 2024-09-23 09:11:06 -07:00
.python-version feat(quivr-core): beginning (#3388) 2024-10-21 00:50:31 -07:00
.readthedocs.yaml chore(docs): incorrect path in .readthedocs.yaml (#3401) 2024-10-21 01:15:18 -07:00
.release-please-manifest.json chore(main): release core 0.0.22 (#3410) 2024-10-21 08:39:12 -07:00
CHANGELOG.md chore(main): release 0.0.322 (#3352) 2024-10-16 01:39:23 -07:00
LICENSE Update license to include enterprise features (#2653) 2024-06-10 09:42:14 -07:00
logo.png [ImgBot] Optimize images (#2568) 2024-05-09 07:16:31 -07:00
README.md refactor: Update example in README.md 2024-10-21 18:25:45 +02:00
release-please-config.json feat(changelog): now default method 2024-10-21 14:32:21 +02:00
requirements-dev.lock feat(quivr-core): beginning (#3388) 2024-10-21 00:50:31 -07:00
requirements.lock feat(quivr-core): beginning (#3388) 2024-10-21 00:50:31 -07:00
vercel.json Revert "feat: 🎸 posthog (#1945)" 2024-01-02 10:23:40 +01:00

Quivr - Your Second Brain, Empowered by Generative AI

Quivr-logo

Discord Follow GitHub Repo stars Twitter Follow

Quivr, helps you build your second brain, utilizes the power of GenerativeAI to be your personal assistant !

Key Features 🎯

  • Opiniated RAG: We created a RAG that is opinionated, fast and efficient so you can focus on your product
  • LLMs: Quivr works with any LLM, you can use it with OpenAI, Anthropic, Mistral, Gemma, etc.
  • Any File: Quivr works with any file, you can use it with PDF, TXT, Markdown, etc and even add your own parsers.
  • Customize your RAG: Quivr allows you to customize your RAG, add internet search, add tools, etc.
  • Integrations with Megaparse: Quivr works with Megaparse, so you can ingest your files with Megaparse and use the RAG with Quivr.

We take care of the RAG so you can focus on your product. Simply install quivr-core and add it to your project. You can now ingest your files and ask questions.*

We will be improving the RAG and adding more features, stay tuned!

This is the core of Quivr, the brain of Quivr.com.

Getting Started 🚀

You can find everything on the documentation.

Prerequisites 📋

Ensure you have the following installed:

  • Python 3.10 or newer

30 seconds Installation 💽

  • Step 1: Install the package

    pip install quivr-core # Check that the installation worked
    
  • Step 2: Create a RAG with 5 lines of code

    import tempfile
    
    from quivr_core import Brain
    
    if __name__ == "__main__":
        with tempfile.NamedTemporaryFile(mode="w", suffix=".txt") as temp_file:
            temp_file.write("Gold is a liquid of blue-like colour.")
            temp_file.flush()
    
            brain = Brain.from_files(
                name="test_brain",
                file_paths=[temp_file.name],
            )
    
            answer = brain.ask(
                "what is gold? asnwer in french"
            )
            print("answer:", answer)
    

Examples

Name Description
Simple Question Ask a simple question to the RAG by ingesting a single file
ChatBot Build a chatbot by ingesting a folder of files with a nice UI powered by Chainlit

Go further

You can go further with Quivr by adding internet search, adding tools, etc. Check the documentation for more information.

Contributors

Thanks go to these wonderful people:

Contribute 🤝

Did you get a pull request? Open it, and we'll review it as soon as possible. Check out our project board here to see what we're currently focused on, and feel free to bring your fresh ideas to the table!

Partners ❤️

This project would not be possible without the support of our partners. Thank you for your support!

YCombinator Theodo

License 📄

This project is licensed under the Apache 2.0 License - see the LICENSE file for details