-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Snowflake provider support: added embeddings, PAT, account_id #15727
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
base: main
Are you sure you want to change the base?
Conversation
@ea-rus is attempting to deploy a commit to the CLERKIEAI Team on Vercel. A member of the Team first needs to authorize it. |
def get_config(cls): | ||
return super().get_config() | ||
|
||
class SnowflakeBaseConfig: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactor this base config into a separate file - e.g. the utils.py file you wrote inside snowflake/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, moved to utils.py
Title
Improved snowflake provider support: embeddings, PAT, account_id
Relevant issues
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/
directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit
Type
🆕 New Feature
Changes
Improved snowflake provider support:
Example:
The lifetime of PAT is much longer than JWT key
Example:
Example:
pat_key
andaccount_id
parameters work both for embeding and completion.Tests:
