brianpetro / obsidian-smart-connections

Chat with your notes & see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
https://smartconnections.app
GNU General Public License v3.0
2.84k stars 185 forks source link

How can other formats, such as txt, css, html, .py, and other types of file, be read and used for word embedding? #779

Closed Edwener closed 2 months ago

Edwener commented 2 months ago

Which part of the code should I modify to support more formats?

brianpetro commented 2 months ago

You would want to create adapters in this module https://github.com/brianpetro/jsbrains/tree/main/smart-chunks#readme

The readme is a bit outdated, but smart_chunks.js is the main entry point and adapters do the heavy lifting.

🌴

Edwener commented 2 months ago

Thanks for telling me the direction 👍