ai-gateway/common
David Zhuang 5cf23d8698
feat: add Google Gemini Pro support (#826)
* fest: Add Google Gemini Pro, fix #810

* fest: Add tooling to Gemini; Add OpenAI-like system prompt to Gemini

* refactor: removing unused if statement

* fest: Add dummy model message for system message in gemini model

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 12:48:32 +08:00
..
image feat: add image counter for gpt-4 vision (#795) 2023-12-10 19:39:46 +08:00
constants.go feat: add Google Gemini Pro support (#826) 2023-12-17 12:48:32 +08:00
crypto.go Initial commit 2023-04-22 20:39:27 +08:00
custom-event.go refactor: rename file to conform to standards 2023-05-13 15:43:55 +08:00
database.go fix: fix postgresql support (#606) 2023-10-22 18:38:29 +08:00
email.go fix: add Date header for email (#742) 2023-11-24 20:56:53 +08:00
embed-file-system.go Initial commit 2023-04-22 20:39:27 +08:00
gin.go fix: skip JSON deserialization when accessing transcriptions and translations (#718) 2023-11-19 16:11:39 +08:00
group-ratio.go chore: format logs 2023-06-22 10:59:01 +08:00
init.go refactor: update logging related logic 2023-09-17 15:39:46 +08:00
logger.go feat: create new log file when too many logs recorded 2023-09-17 16:35:30 +08:00
model-ratio.go feat: add Google Gemini Pro support (#826) 2023-12-17 12:48:32 +08:00
rate-limit.go Initial commit 2023-04-22 20:39:27 +08:00
redis.go fix: update cache immediately after cache get 2023-08-16 23:40:50 +08:00
utils.go fix: fix postgresql support (#606) 2023-10-22 18:38:29 +08:00
validate.go Initial commit 2023-04-22 20:39:27 +08:00
verification.go Initial commit 2023-04-22 20:39:27 +08:00