j178 / chatgpt

An elegant interactive CLI for ChatGPT
693 stars 52 forks source link

gemini API support #86

Open hrez opened 4 months ago

hrez commented 4 months ago

Hi, It would be nice to support Google's gemini API directly. Relevant SDK is https://github.com/google/generative-ai-go

Thanks.

j178 commented 4 months ago

Thank you. To support other LLMs, we may need to implement an abstraction layer for the LLM API. Integrate a tool like langchain-go could be a viable solution. I'll look into it further.