khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

Support Google's Gemini model series #902

Closed aam-at closed 1 week ago

aam-at commented 2 weeks ago

This pull request adds support for Goggle Gemini AI models with extremely large context window which might be helpful for notes assistant.

sabaimran commented 1 week ago

Thanks for creating this PR, @aam-at ! It's super valuable and helpful. Code quality is neat, and it worked for me with minimal configuration within the current setup.

I'll take care of the merge conflicts, and we should have this deployed sometime this week 🙂 .

aam-at commented 1 week ago

@sabaimran @debanjum thanks for finalizing this pull request! :)