Skip to content

jwl-7/synthos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

🔍 synthos

AI-Assistant for Sound Design

🧠 How It Works

This project implements a local RAG-esque pipeline to provide fast, accurate search results without the need for a backend server.

Vectorization (Offline)

The python pre-processor uses pymupdf to extract the text from a .pdf file. The text content is split into sentence-based chunks and sanitized. The chunks are processed by sentence-transformers to then fully convert the .pdf -> vector embeddings (.json).

Semantic Retrieval (Client-Side)

The frontend synth-search uses Transformers.js to perform local inference. When a user searches, the query is vectorized in-browser using the AI model all-mpnet-base-v2. A cosine similarity calculation is performed against the local index to find the most contextually relevant matches.

Semantic Processing (Client-Side)

The semantic data matched from the user query is sanitized and processed as a prompt to the AI model Flan-T5 Base. The text-to-text generation is cleaned and sent to the user.

Data Sources

⚖️ License

This project is released under the GNU GPL License - see the LICENSE file for details

About

AI-Assistant for Sound Design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors