-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.yaml
More file actions
73 lines (73 loc) · 2.53 KB
/
run.yaml
File metadata and controls
73 lines (73 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "2"
image_name: trustyai_ragas_distro_remote
apis:
- eval
- inference
- files
- benchmarks
- telemetry
- datasetio
providers:
eval:
- provider_id: ${env.KUBEFLOW_LLAMA_STACK_URL:+trustyai_ragas_remote}
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}
pipelines_api_token: ${env.KUBEFLOW_PIPELINES_TOKEN:=}
- provider_id: ${env.EMBEDDING_MODEL:+trustyai_ragas_inline}
provider_type: inline::trustyai_ragas
module: llama_stack_provider_ragas.inline
config:
embedding_model: ${env.EMBEDDING_MODEL}
datasetio:
- provider_id: localfs
provider_type: inline::localfs
config:
kvstore:
type: sqlite
namespace: null
db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/trustyai_ragas_distro_remote}/localfs_datasetio.db
inference:
- provider_id: ollama
provider_type: remote::ollama
config:
url: ${env.OLLAMA_URL:=http://localhost:11434}
telemetry:
- provider_id: meta-reference
provider_type: inline::meta-reference
config:
service_name: "${env.OTEL_SERVICE_NAME:=\u200B}"
sinks: ${env.TELEMETRY_SINKS:=console,sqlite}
sqlite_db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/trustyai_ragas_distro_remote}/trace_store.db
otel_exporter_otlp_endpoint: ${env.OTEL_EXPORTER_OTLP_ENDPOINT:=}
files:
- provider_id: meta-reference-files
provider_type: inline::localfs
config:
storage_dir: ${env.FILES_STORAGE_DIR:=~/.llama/distributions/trustyai_ragas_distro_remote/files}
metadata_store:
type: sqlite
db_path: ${env.METADATA_STORE_DB_PATH:=~/.llama/distributions/trustyai_ragas_distro_remote}/registry.db}
models:
- metadata:
embedding_dimension: 384
model_id: all-MiniLM-L6-v2
provider_id: ollama
provider_model_id: all-minilm:latest
model_type: embedding
- metadata: {}
model_id: granite3.3:2b
provider_id: ollama
provider_model_id: granite3.3:2b
model_type: llm
server:
host: localhost
port: 8321