-
Notifications
You must be signed in to change notification settings - Fork 32
feat: add TrustyAI Ragas inline and remote providers #52
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,8 @@ distribution_spec: | |
| eval: | ||
| - provider_type: remote::trustyai_lmeval | ||
| module: llama_stack_provider_lmeval==0.2.4 | ||
| - provider_type: inline::trustyai_ragas | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this only adds inline, right? what about
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup, asked the Trusty team about that in Slack
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @dmaniloff
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will install the package with the additional remote deps so it will add both inline and remote providers.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you talking about the |
||
| module: llama_stack_provider_ragas[remote]==0.3.0 | ||
| datasetio: | ||
| - provider_type: remote::huggingface | ||
| - provider_type: inline::localfs | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -108,6 +108,23 @@ providers: | |||||
| config: | ||||||
| use_k8s: ${env.TRUSTYAI_LMEVAL_USE_K8S:=true} | ||||||
| base_url: ${env.VLLM_URL:=} | ||||||
| - provider_id: ${env.EMBEDDING_MODEL:+trustyai_ragas_inline} | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| provider_type: inline::trustyai_ragas | ||||||
| module: llama_stack_provider_ragas.inline | ||||||
| config: | ||||||
| embedding_model: ${env.EMBEDDING_MODEL:=} | ||||||
| - provider_id: ${env.KUBEFLOW_LLAMA_STACK_URL:+trustyai_ragas_remote} | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What happens if both providers are enabled? Will this still work?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. Yes it will work, but users will not have a way to differentiate when doing Should we bring back the suffix to better support the case of both providers enabled?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, and I'm going to leave it in the YAML for now |
||||||
| provider_type: remote::trustyai_ragas | ||||||
| module: llama_stack_provider_ragas.remote | ||||||
| config: | ||||||
| embedding_model: ${env.EMBEDDING_MODEL:=} | ||||||
| kubeflow_config: | ||||||
| results_s3_prefix: ${env.KUBEFLOW_RESULTS_S3_PREFIX:=} | ||||||
| s3_credentials_secret_name: ${env.KUBEFLOW_S3_CREDENTIALS_SECRET_NAME:=} | ||||||
| pipelines_endpoint: ${env.KUBEFLOW_PIPELINES_ENDPOINT:=} | ||||||
| namespace: ${env.KUBEFLOW_NAMESPACE:=} | ||||||
| llama_stack_url: ${env.KUBEFLOW_LLAMA_STACK_URL:=} | ||||||
| base_image: ${env.KUBEFLOW_BASE_IMAGE:=} | ||||||
nathan-weinberg marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| datasetio: | ||||||
| - provider_id: huggingface | ||||||
| provider_type: remote::huggingface | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.