Galunid

Results 28 comments of Galunid

@BlackVoid Yes, SO means Special Offers

I'm somewhat interested in this, when I finish the other opened PRs 😁. I'll try to make some simple PoC and see if it's even feasible. I don't think I'll...

Could you share crash log? It's hard to tell what's going on without logs.

@SmokeShine You can run llama.cpp's server + a python script to get OpenAI compatible API. I think all you need to do is change ```lua local api_url = "https://api.openai.com/v1/chat/completions" ```...

> What about input/output? Won't that break? I'm not sure what you mean, nothing should break. You can use [ollama](https://ollama.com/blog/openai-compatibility) too, just make sure you set the correct [model](https://github.com/drewbaumann/AskGPT/blob/60d5e26dbe60b53a333b7de80c40026ef26cea81/gpt_query.lua#L16)/[ip address.](https://github.com/drewbaumann/AskGPT/blob/60d5e26dbe60b53a333b7de80c40026ef26cea81/gpt_query.lua#L8)

Oh wow, I just realized this is still not merged 😅. I'll work on this on Monday hopefully.

Note to self: `make doc` is the command. This looks way better, I'll probably have to move comments above functions, since we are limited to ~80 characters, otherwise ldoc adds...

This is the other version, I'm not sure which is preferred? ![image](https://github.com/koreader/koreader-base/assets/10298730/a3968597-675b-43bc-9b5d-3041fc02d27d)

Here's the hybrid ![image](https://github.com/koreader/koreader-base/assets/10298730/917dfa2d-f891-4b5d-9c97-281000e52133)

Yup, I think it's good to go, unless someone feels like something needs to be reworded, explained more clearly. I'm open to criticism. On an unrelated note, I think it's...