mrmps / SMRY

A tool to get summaries and get past paywalls
https://smry.ai
340 stars 22 forks source link

[feature] Support Ollama #7

Open GeorgelPreput opened 1 month ago

GeorgelPreput commented 1 month ago

Would it be possible to integrate with Ollama, in addition to OpenAI for those of us who would like a self-hosted solution?

I'm no JS dev, but looking at the code it seems the use of OpenAI is fairly localized, and the Ollama API is not overly complex either. You would need to add an extra config for what model is being used, though.

GeorgelPreput commented 1 month ago

...also happy to chip in, if you have a Patreon or something