Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions config/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ vars:
apiVersion: v1
fieldref:
fieldpath: data.evalhub-provider-lm-evaluation-harness-image
- name: evalhub-provider-ragas-image
objref:
kind: ConfigMap
name: config
apiVersion: v1
fieldref:
fieldpath: data.evalhub-provider-ragas-image
7 changes: 4 additions & 3 deletions config/base/params.env
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ lmes-allow-code-execution=true
guardrails-orchestrator-image=quay.io/trustyai/ta-guardrails-orchestrator:latest
guardrails-built-in-detector-image=quay.io/trustyai/guardrails-detector-built-in:latest
guardrails-sidecar-gateway-image=quay.io/trustyai/guardrails-sidecar-gateway:latest
garak-provider-image=quay.io/trustyai/llama-stack-provider-trustyai-garak:latest
garak-provider-image=quay.io/trustyai/trustyai-garak-lls-provider-dsp:latest
nemo-guardrails-image=quay.io/trustyai/nemo-guardrails-server:latest
evalhub-provider-garak-image=quay.io/evalhub/garak:latest
evalhub-provider-garak-image=quay.io/trustyai/trustyai-garak-lls-provider-dsp:latest
evalhub-provider-guidellm-image=quay.io/evalhub/community-guidellm:latest
evalhub-provider-lighteval-image=quay.io/evalhub/community-lighteval:latest
evalhub-provider-lm-evaluation-harness-image=quay.io/opendatahub/ta-lmes-job:odh-3.4-ea2
evalhub-provider-lm-evaluation-harness-image=quay.io/opendatahub/ta-lmes-job:odh-3.4-ea2
evalhub-provider-ragas-image=quay.io/trustyai/trustyai-ragas-lls-provider-dsp:latest
1 change: 1 addition & 0 deletions config/configmaps/evalhub/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ resources:
- provider-guidellm.yaml
- provider-lighteval.yaml
- provider-lm-evaluation-harness.yaml
- provider-ragas.yaml

namespace: system
49 changes: 49 additions & 0 deletions config/configmaps/evalhub/provider-ragas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: evalhub-provider-ragas
labels:
trustyai.opendatahub.io/evalhub-provider-type: system
trustyai.opendatahub.io/evalhub-provider-name: ragas
data:
ragas.yaml: |
id: ragas
name: RAGAS
description: RAG Assessment with GAsp-powered metrics; reads dataset from /test_data or /data
type: builtin
runtime:
k8s:
image: $(evalhub-provider-ragas-image)
entrypoint:
- ragas-evalhub-adapter
cpu_request: 100m
memory_request: 256Mi
cpu_limit: 1000m
memory_limit: 2Gi
local: null
benchmarks:
- id: ragas_suite
name: RAGAS Suite
description: Faithfulness, answer relevancy, context precision, context recall, answer similarity
category: rag
metrics:
- faithfulness
- answer_relevancy
- context_precision
- context_recall
- answer_similarity
tags:
- rag
- ragas
- retrieval
- id: ragas_qa
name: RAGAS QA
description: RAGAS metrics for question-answering evaluation
category: rag
metrics:
- faithfulness
- answer_relevancy
tags:
- rag
- ragas
- qa
3 changes: 2 additions & 1 deletion config/overlays/odh/params.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ nemo-guardrails-image=quay.io/trustyai/nemo-guardrails-server:latest
evalhub-provider-garak-image=quay.io/evalhub/garak:latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we for now give quay.io/trustyai/trustyai-garak-lls-provider-dsp:latest for this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 677385d

evalhub-provider-guidellm-image=quay.io/evalhub/community-guidellm:latest
evalhub-provider-lighteval-image=quay.io/evalhub/community-lighteval:latest
evalhub-provider-lm-evaluation-harness-image=quay.io/opendatahub/ta-lmes-job:odh-3.4-ea2
evalhub-provider-lm-evaluation-harness-image=quay.io/opendatahub/ta-lmes-job:odh-3.4-ea2
evalhub-provider-ragas-image=quay.io/trustyai/trustyai-ragas-lls-provider-dsp:latest
3 changes: 2 additions & 1 deletion config/overlays/rhoai/params.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ nemo-guardrails-image=quay.io/trustyai/nemo-guardrails-server:latest
evalhub-provider-garak-image=quay.io/evalhub/garak:latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we for now give quay.io/trustyai/trustyai-garak-lls-provider-dsp:latest for this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 677385d

evalhub-provider-guidellm-image=quay.io/evalhub/community-guidellm:latest
evalhub-provider-lighteval-image=quay.io/evalhub/community-lighteval:latest
evalhub-provider-lm-evaluation-harness-image=quay.io/opendatahub/ta-lmes-job:odh-3.4-ea2
evalhub-provider-lm-evaluation-harness-image=quay.io/opendatahub/ta-lmes-job:odh-3.4-ea2
evalhub-provider-ragas-image=quay.io/trustyai/trustyai-ragas-lls-provider-dsp:latest
Loading