LibreChat/api/app/clients/prompts
Danny Avila 9d854dac07
🤖 feat: Gemini 1.5 Support (+Vertex AI) (#2383)
* WIP: gemini-1.5 support

* feat: extended vertex ai support

* fix: handle possibly undefined modelName

* fix: gpt-4-turbo-preview invalid vision model

* feat: specify `fileConfig.imageOutputType` and make PNG default image conversion type

* feat: better truncation for errors including base64 strings

* fix: gemini inlineData formatting

* feat: RAG augmented prompt for gemini-1.5

* feat: gemini-1.5 rates and token window

* chore: adjust tokens, update docs, update vision Models

* chore: add back `ChatGoogleVertexAI` for chat models via vertex ai

* refactor: ask/edit controllers to not use `unfinished` field for google endpoint

* chore: remove comment

* chore(ci): fix AppService test

* chore: remove comment

* refactor(GoogleSearch): use `GOOGLE_SEARCH_API_KEY` instead, issue warning for old variable

* chore: bump data-provider to 0.5.4

* chore: update docs

* fix: condition for gemini-1.5 using generative ai lib

* chore: update docs

* ci: add additional AppService test for `imageOutputType`

* refactor: optimize new config value `imageOutputType`

* chore: bump CONFIG_VERSION

* fix(assistants): avatar upload
2024-04-16 08:32:40 -04:00
..
createContextHandlers.js ⬇️ feat: Assistant File Downloads (#2234) 2024-03-29 08:23:38 -04:00
createVisionPrompt.js 👓 feat: Vision Support for Assistants (#2195) 2024-03-24 23:43:00 -04:00
formatGoogleInputs.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
formatGoogleInputs.spec.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
formatMessages.js 🤖 feat(Anthropic): Claude 3 & Vision Support (#1984) 2024-03-06 00:04:52 -05:00
formatMessages.spec.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
handleInputs.js feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
index.js 🤖 feat: Gemini 1.5 Support (+Vertex AI) (#2383) 2024-04-16 08:32:40 -04:00
instructions.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
summaryPrompts.js feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
titlePrompts.js 🧠 feat: Cohere support as Custom Endpoint (#2328) 2024-04-05 15:19:41 -04:00
truncateText.js 🤖 feat: Gemini 1.5 Support (+Vertex AI) (#2383) 2024-04-16 08:32:40 -04:00