14 Commits

Author SHA1 Message Date
Ozan Armağan
7b1ed4ee79
Fix conversation model initialization (#1806)
* Fix conversation model initialization

* Rename `conversation_collection` to `history_collection`
2024-06-27 06:23:05 +05:30
Ozan Armağan
79018dd2b9
Add API key support for vLLM conversation models (#1777) 2024-06-06 17:45:58 +05:30
Ozan Armağan
4c8a3f18ec
Dynamic model existence check for Cloudflare models + bug fix (#1744)
* Fix standalone question generation for Cloudflare models

* Check cloudflare model existence dynamically

* Fix typo

* Persist cloudflare model migration

* Fix init function
2024-05-21 14:00:24 -07:00
Ozan Armağan
1b4e08b29d
Use collections to store conversations (#1723)
* Use collections to store conversations

* Use conversation model to select conversation history collections

* Fix multi search add conversation call

* Add support for migrating conversation models

* use same suffix for all default conversation collections

* delete `delete_models_With_conversation_collection`
2024-05-14 15:32:35 -04:00
Ozan Armağan
6e24c06e35
Add support for vLLM RAG (#1563)
* Add support for vLLM RAG

* Add `max_bytes` propety for conversation models

* Fix truncate conversation test

* Refactoring
2024-02-26 11:18:14 +05:30
Ozan Armağan
4371cfd48e
Use regex for parsing CF RAG results and log full response when partial (#1554)
* Use regex for parsing CF RAG results and log full  response when it is partial

* Refactor & add test
2024-02-16 09:07:14 +05:30
Ozan Armağan
ded3a5ec08
Fix context length for RAG models (#1544)
* Fix context length for RAG models

* Fix prompt for cloudflare model

* Fix error in multi search

* Add error handling for Cloudflare API response
2024-02-12 21:44:52 +05:30
ozanarmagan
b3815de006 Fix error message 2023-12-26 21:36:11 +03:00
ozanarmagan
6963aa3ece Add support for Cloudflare Workers AI 2023-12-26 19:25:37 +03:00
ozanarmagan
93baeadccc Add support for image embeddings using CLIP 2023-11-17 00:03:25 +03:00
ozanarmagan
eae05c1caf Fix system prompt 2023-11-04 15:18:12 +03:00
ozanarmagan
822cb9c2cd Remove system_prompt parameter and add it to conversation models & support excluding conversation history 2023-11-04 14:43:46 +03:00
ozanarmagan
230308958b Add TTL for conversations 2023-09-16 18:39:06 +03:00
ozanarmagan
405b0037da Add support for conversation model endpoints + multi search with conversations 2023-09-14 23:09:30 +03:00