-
Notifications
You must be signed in to change notification settings - Fork 22
feat: Introduce SingleStoreChatFactory and SingleStoreEmbeddingsFactory factories that instantiate various flavors of chat and embedding instances. #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+233
−9
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a9b6611
feat: Introduce SingleStoreChat wrapper that uses interchangeably Ope…
mgiannakopoulos 0e69c15
Provide option for getting 'X-S2-OBO' token for every request.
mgiannakopoulos 6e96e96
Provide headers that indicate passthrough Amazon bedrock requests.
mgiannakopoulos c23f3fa
Hardcode dummy credentials and region info for ChatBedrockConverse cl…
mgiannakopoulos f2ccfbf
Rename 'region' parameter to 'region_name'.
mgiannakopoulos a2728dc
Expose 'streaming' parameter setting its oposite value to 'disable_st…
mgiannakopoulos a0a5197
Set the default value for 'streaming' paramter to True.
mgiannakopoulos 3ea9400
Remove the cache option.
mgiannakopoulos 321fd9b
Remove unsupported kargs from Bedrock calls.
mgiannakopoulos 8ff4dfe
Replace composition wrapper with a factory method.
mgiannakopoulos f376141
Pass bedrock runtime client as client parameter.
mgiannakopoulos 84ad037
Pass also the 'X-BEDROCK-CONVERSE' headers that indicate that the req…
mgiannakopoulos 40de94e
Remove some amazon specific headers, along with validation, remove X-…
mgiannakopoulos 48b79d7
Remove commented out code; set max retries to 1 for Amazon Bedrock mo…
mgiannakopoulos 02b1f47
Use 'Union' return type to satisfy pre-commit checks for python versi…
mgiannakopoulos 5db3fbf
Expose also the hostingPlatform for InferenceAPIInfo.
mgiannakopoulos 2fdd49b
Do not use model prefix, rely on hosting platform.
mgiannakopoulos 054c8e2
Introduce SingleStoreEmbeddingsFactory; small fixes.
mgiannakopoulos 540100d
Fix openai langchain library.
mgiannakopoulos 80b487b
Remove any comments that expose internal implementation details.
mgiannakopoulos ca059a3
Minor fixes.
mgiannakopoulos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.