wovensnips

WovenSnips: A Lightweight, Free, and Open-source Implementation of Retrieval-Augmented Generation (RAG) using Straico API

https://github.com/ekjaisal/wovensnips

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

api corpus csv markdown pdf rag retrieval-augmented-generation straico txt
Last synced: 6 months ago · JSON representation ·

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
api corpus csv markdown pdf rag retrieval-augmented-generation straico txt
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

WovenSnips

GitHub Release GitHub Downloads License: BSD-3-Clause Citation File CodeFactor OpenSSF Scorecard GitHub Stars Maintained by Jaisal E. K.

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.

WovenSnips Main Interface - Light Theme WovenSnips Main Interface - Dark Theme

Usage 💻

  1. Download the latest release from the Releases page.
  2. Set up WovenSnips on the local device using the installer (currently available only for Windows).
  3. Point and click to launch the application.
  4. 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.
  5. Select the preferred model to interact with from Settings → Select Model.
  6. 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.
  7. Start interacting with the corpus through the main interface.
  8. Save the loaded corpus as a vector store for future reuse from File → Save Vector Store to avoid reprocessing large corpora.
  9. 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:

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.

Buy Me A Coffee

Owner

  • Name: Jaisal E. K.
  • Login: ekjaisal
  • Kind: user
  • Location: Mumbai, India
  • Company: Indian Institute of Technology, Bombay

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
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.3%
Average: 6.5%
Dependent repos count: 6.7%
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • 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
.github/workflows/codeql.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/analyze v3 composite
  • github/codeql-action/init v3 composite
.github/workflows/scorecard.yml actions
  • actions/checkout b4ffde65f46336ab88eb53be808477a3936bae11 composite
  • actions/upload-artifact 97a0fba1372883ab732affbe8f94b823f91727db composite
  • github/codeql-action/upload-sarif v3 composite
  • ossf/scorecard-action 0864cf19026789058feabb7e87baa5f140aac736 composite