Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ jobs:
name: 'integration tests (gen)'
runs-on: ubuntu-latest
if: |
github.event_name != 'pull_request'
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: SAP/ai-sdk-python/.github/actions/setup@main

Expand Down
3 changes: 3 additions & 0 deletions packages/gen/gen_ai_hub/evaluations/models/metric_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def __init__(
self.version = version
self.id = id

def __str__(self):
return f"MetricRef<ID: {self.id}, name: {self.name}, scenario: {self.scenario}, version: {self.version}"

class MetricConfig:
"""
Defines the metric config of the evaluation flow
Expand Down
Loading