Kuingsmile / word-GPT-Plus

Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. Both official and web api is supported.
MIT License
629 stars 97 forks source link

[Feature]: endpoint setting for gemini #37

Closed johnd0e closed 5 months ago

johnd0e commented 5 months ago

前置阅读 | Pre-reading

服务类型 | Service Type

Official hosted service

系统信息 | System Information

Windows

Office 版本 | Office Version

microsoft 365

功能请求 | Feature request

There is endpoint setting for "palm" API. It would be great to have same settings for "Gemini Pro".

Kuingsmile commented 5 months ago

I'm using the google gemini js SDK, however, setting the base_url is not supported right now. https://github.com/google/generative-ai-js/issues/25

johnd0e commented 5 months ago

BTW there is alternative lib - https://github.com/EvanZhouDev/gemini-ai (and https://github.com/EvanZhouDev/palm-api)

johnd0e commented 3 months ago

setting the base_url is not supported right now.

There is an option now: https://github.com/google/generative-ai-js/pull/73