Closed ParetoOptimalDev closed 5 months ago
It's on the kagi-fastgpt
branch of the repo, the backend definition example is in the README.
I'm guessing at least some work will need to be done for parsing the json result:
This work has been done. It works but it's not merged yet because Kagi's fastgpt has no concept of a "system message" or multi-turn conversations, so it will probably confuse users who try to use it like ChatGPT. We can fake the "system message" by prepending the prompt with it (this is what I do for Gemini), but the lack of chat is a bit more of a problem.
Oh okay.. thanks! I'll give it a try in a bit and maybe after I experience it I'll have some useful feedback or ideas.
Likewise, it's simple to implement Kagi's summarizer API, but I'm not sure how to integrate it with gptel.
I merged Kagi support into master, with the caveat that multi-turn conversations are not supported.
Only the FastGPT model is supported -- adding support for Kagi summarizer requires new UI ideas and I'm still prototyping how to send files etc. It can be a separate issue if required, closing this now.
Support for Kagi's Universal Summarizer has been added. The Readme mentions it in the Kagi section.
https://help.kagi.com/kagi/api/fastgpt.html#examples
I think you mentioned using this @karthink so you might have it? I'm trying to see if it just works right now, but I'm guessing at least some work will need to be done for parsing the json result: