miurla / morphic

An AI-powered search engine with a generative UI
https://morphic.sh
Apache License 2.0
6.04k stars 1.51k forks source link

draft: Update Ollama support #200

Closed miurla closed 3 months ago

miurla commented 4 months ago

ref: #190

The model used

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
morphic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2024 8:24am
peperunas commented 4 months ago

Thank you for your work @miurla! Unfortunately, as you said, this is very unstable and I was not able to get Ollama working.

I tried different models but - one way or the other - I cannot get any result back. I guess we need to way for a fix upstream.

arsaboo commented 4 months ago

How are https://github.com/rashadphz/farfalle and https://github.com/ItzCrazyKns/Perplexica able to achieve this? Both support Ollama and work very well.

miurla commented 4 months ago

@peperunas Thank you for checking.

I guess we need to way for a fix upstream.

Yes, to work stably with Ollama, a fix in the upstream is necessary. Since it cannot be merged into the main, I intend to create an experimental branch so that other developers can test it. I appreciate your work!

miurla commented 4 months ago

@arsaboo Those projects are not Generative UI projects.

peperunas commented 3 months ago

So, I made a mess and instead of actually pushing here the merges between this branch and main, I created another PR 🤦

Sorry @miurla!