forked from SolaceLabs/solace-ai-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEATURE: Enhance embedding functionality with batch and image support. (
#55) * added litellm component * support chat history * trimmed comments * dynamically get the model parameters * added llm load balancer * added the AI PR reviewer workflow * fixed minor issues * controlled session id * refactored chat history and reused codes * fixed minor logging issue * reverted minor changes * handle all LiteLLM inferences and embedding requests by the load balancer * updated documents * fix: remove useless import command * refactor: restructure the LLM components * Added support for batch embedding + image embedding * Added init py * typo * fixed embedding --------- Co-authored-by: alimosaed <[email protected]>
- Loading branch information
Showing
8 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,4 +125,4 @@ def load_balance(self, messages, stream): | |
|
||
def invoke(self, message, data): | ||
"""invoke the model""" | ||
pass | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters