wovensnips
WovenSnips: A Lightweight, Free, and Open-source Implementation of Retrieval-Augmented Generation (RAG) using Straico API
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.0%) to scientific vocabulary
Keywords
Repository
WovenSnips: A Lightweight, Free, and Open-source Implementation of Retrieval-Augmented Generation (RAG) using Straico API
Basic Info
- Host: GitHub
- Owner: ekjaisal
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://wovensnips.jaisal.in
- Size: 469 KB
Statistics
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
- Releases: 3
Topics
Metadata Files
README.md
WovenSnips
WovenSnips is a lightweight, free, and open-source implementation of Retrieval-Augmented Generation (RAG) using the Straico API. It provides a simple and clean Graphical User Interface (GUI) for users to load corpora to perform RAG-based explorations of the corpus, mediating the interactions through various language models.
Features 🌟
- 🔍 Load and process corpora for exploration and context retrieval using Retrieval-Augmented Generation (RAG).
- 🤖 Choose from a wide selection of LLMs provided by Straico.
- 🪶 Designed lightweight to run on devices without a dedicated GPU.
- 💾 Save and load vector stores for efficient reuse of processed corpora.
- 📚 Support for various file formats (.pdf, .txt, .md, .csv).
- 💬 Minimal, user-friendly interface for clutter-free, focused engagement with the loaded corpus.
- 🔌 Local server option to programmatically interact with other applications and scripts.
- 🌓 Dark and light theme options.
Usage 💻
- Download the latest release from the Releases page.
- Set up WovenSnips on the local device using the installer (currently available only for Windows).
- Point and click to launch the application.
- Set the Straico API Key from Settings → Set API Key. Existing Straico users can find their API Key from the platform's settings page. New users may choose to create a Straico account using this referral link.
- Select the preferred model to interact with from Settings → Select Model.
- Load the collection of files to be used as source material for RAG from File → Load Corpus → Select Corpus Directory, or load a previously saved vector store from File → Load Vector Store.
- Start interacting with the corpus through the main interface.
- Save the loaded corpus as a vector store for future reuse from File → Save Vector Store to avoid reprocessing large corpora.
- Enable the local server from Settings → Local Server to allow programmatic interaction.
Third-Party Libraries and Services 🛠️
WovenSnips is built using Python 3.11.9 and relies on several modules from the Python Standard Library and the following third-party libraries and services:
- Straico API for language model integration,
- PySide6 for the graphical user interface,
- PyTorch, NumPy, Langchain, Langchain Community, Langchain Hugging Face, and FAISS-CPU for RAG implementation,
- Pydantic for data validation,
- pdfplumber for processing PDFs,
- MessagePack for vector store serialisation,
- Requests for API communication,
- Roboto Font for UI typography,
- PyInstaller for creating standalone executables, and
- Inno Setup for compiling and packaging the installer.
License 📄
This project is licensed under the BSD 3-Clause License. Please see the LICENSE file for details.
Disclaimer 📣
This tool is provided as-is, without any warranties. Users are responsible for ensuring that their use of this implementation complies with Straico's terms and conditions.
Acknowledgements 🤝🏾
WovenSnips has benefitted significantly from the assistance of Anthropic's Claude 3.5 Sonnet with all the heavy lifting associated with coding, Riley's addition of local server capability, and the overwhelming warmth and support from the Straico community.
Owner
- Name: Jaisal E. K.
- Login: ekjaisal
- Kind: user
- Location: Mumbai, India
- Company: Indian Institute of Technology, Bombay
- Website: https://jaisal.in
- Repositories: 1
- Profile: https://github.com/ekjaisal
PhD Student, Public Policy, at IIT Bombay
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this implementation, please consider citing it using the metadata from this file."
type: software
authors:
- family-names: "E. K."
given-names: "Jaisal"
email: "mail@jaisal.in"
orcid: "https://orcid.org/0000-0003-3535-0273"
title: "WovenSnips: A Lightweight, Free, and Open-source Implementation of Retrieval-Augmented Generation (RAG) using Straico API"
version: 1.1.0
date-released: 2024
url: "https://wovensnips.jaisal.in"
repository-code: "https://github.com/ekjaisal/WovenSnips"
license: "BSD 3-Clause License"
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
proxy.golang.org: github.com/ekjaisal/wovensnips
- Documentation: https://pkg.go.dev/github.com/ekjaisal/wovensnips#section-documentation
- License: bsd-3-clause
-
Latest release: v1.1.0
published over 1 year ago
Rankings
Dependencies
- PySide6 ==6.7.2
- faiss-cpu ==1.8.0.post1
- langchain ==0.2.11
- langchain-community ==0.2.10
- langchain-huggingface ==0.0.3
- pdfplumber ==0.11.2
- pydantic ==2.8.2
- requests ==2.32.3
- torch ==2.3.0
- actions/checkout v4 composite
- github/codeql-action/analyze v3 composite
- github/codeql-action/init v3 composite
- actions/checkout b4ffde65f46336ab88eb53be808477a3936bae11 composite
- actions/upload-artifact 97a0fba1372883ab732affbe8f94b823f91727db composite
- github/codeql-action/upload-sarif v3 composite
- ossf/scorecard-action 0864cf19026789058feabb7e87baa5f140aac736 composite
