-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprint.yaml
More file actions
113 lines (93 loc) · 2.31 KB
/
blueprint.yaml
File metadata and controls
113 lines (93 loc) · 2.31 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
title: FastRAG
version: 1.0.0
description: "This blueprint enables using RAG with ElasticSearch and MinIO"
long_description: "This blueprint uses Elasticsearch as document store and MinIO for updating the document store for RAG. You can connect with external LLM for content generation."
author: "cnvrg"
author_email: "libhub@cnvrg.io"
# At least one tag [inference, training, data] must be present
tags:
- training
# List of tasks (libraries)
tasks:
- title: Listen
top: 300
left: 0
# Type must be according to the flow task conventions (data, exec, deploy)
type: exec
# The library data
library: listener
library_version: 1.0.0
# The flattened library parameters (in this case we have training library)
command: python updator.py
requirements:
cpu: 3.5
memory: 8
gpu: 0
hpu: 0
image: cnvrg:v6.0
language: python3
# The "arguments" property changes to "params", rest remains the same.
# Params in the blueprint yaml can be used to override the arguments in the library.
params:
- key: storage_solution
type: 'categorical'
values:
- 's3'
- key: bucket_name
type: 'categorical'
values:
- ''
- key: index
type: 'categorical'
values:
- ''
- key: port
type: 'categorical'
values:
- ''
- key: host
type: 'categorical'
values:
- ''
- key: api_link
type: 'categorical'
values:
- ''
- key: queue_url
type: 'categorical'
values:
- ''
- key: region_name
type: 'categorical'
values:
- ''
- key: scheme
type: 'categorical'
values:
- ''
- title: Inference
top: 400
left: 500
type: deploy
library: rag-endpoint
library-version: 1.0.0
kind: webservice
requirements:
cpu: 3.5
memory: 8
gpu: 0
hpu: 0
image: cnvrg:v6.0
language: python3
accept_files: false
file_name: predict.py
function_name: query
prep_file: ''
prep_function: ''
input_example:
query: text
input_schema:
query: text
output_schema: {}
relations: []