j178 / chatgpt

An elegant interactive CLI for ChatGPT
734 stars 53 forks source link

gemini API support #86

Open hrez opened 9 months ago

hrez commented 9 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 8 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.