-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathquix.yaml
176 lines (173 loc) · 5.08 KB
/
quix.yaml
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Quix Project Descriptor
# This file describes the data pipeline and configuration of resources of a Quix Project.
metadata:
version: 1.0
# This section describes the Deployments of the data pipeline
deployments:
- name: Sentiment Analyzer
application: Sentiment Analyzer
deploymentType: Service
version: 362043636accafd9b7c1c7833b8b40f0c27bd9ac
resources:
cpu: 500
memory: 1000
replicas: 1
desiredStatus: Running
variables:
- name: input
inputType: InputTopic
description: Name of the input topic to listen to.
required: true
value: ai-chat
- name: output
inputType: OutputTopic
description: Name of the output topic to write to.
required: true
value: ai-chat-history-with-sentiment
- name: buffer_delay
inputType: FreeText
description: Input buffer configuration (timeout and timespan in milliseconds).
required: false
value: 0
- name: Streamlit Dashboard
application: Streamlit Dashboard
deploymentType: Service
version: 362043636accafd9b7c1c7833b8b40f0c27bd9ac
resources:
cpu: 200
memory: 500
replicas: 1
publicAccess:
enabled: true
urlPrefix: dashboard
state:
enabled: true
size: 1
desiredStatus: Running
variables:
- name: chat_count
inputType: FreeText
description: Maximum number of chats to display on the dashboard.
required: true
value: 3
- name: style_sheet
inputType: FreeText
description: Custom style sheet for Streamlit.
required: false
value: style.css
- name: INFLUXDB_TOKEN
inputType: Secret
description: ''
required: false
secretKey: influxdb_token
- name: INFLUXDB_HOST
inputType: FreeText
description: ''
required: false
value: {{influxdb_host}}
- name: INFLUXDB_ORG
inputType: FreeText
description: ''
required: false
value: {{influxdb_org}}
- name: INFLUXDB_DATABASE
inputType: FreeText
description: ''
required: false
value: {{influxdb_database}}
- name: AI Support Agent
application: AI Customer Support Agent
deploymentType: Service
version: 227edb278029af6b21e7758f2a1a72c3814f49a4
resources:
cpu: 2500
memory: 4000
replicas: 1
desiredStatus: Running
variables:
- name: input
inputType: OutputTopic
description: This is the output topic to write data to
required: true
value: ai-chat
- name: AI Customer
application: AI Customer
deploymentType: Service
version: 810b1b4e7bfcea929c74c9394e7ee60f9fd1b498
resources:
cpu: 2500
memory: 4000
replicas: 1
desiredStatus: Running
variables:
- name: input
inputType: OutputTopic
description: This is the output topic to write data to
required: true
value: ai-chat
- name: conversation_length
inputType: FreeText
description: Maximum conversation length, after which the conversation resets.
required: true
value: 15
- name: InfluxDB 3.0 Sink
application: InfluxDB 3.0 Sink
deploymentType: Service
version: 362043636accafd9b7c1c7833b8b40f0c27bd9ac
resources:
cpu: 200
memory: 500
replicas: 1
desiredStatus: Running
variables:
- name: input
inputType: InputTopic
description: This is the input topic
required: true
value: ai-chat-history-with-sentiment
- name: INFLUXDB_HOST
inputType: FreeText
description: Host address for the InfluxDB instance.
required: true
value: {{influxdb_host}}
- name: INFLUXDB_TOKEN
inputType: Secret
description: ''
required: false
secretKey: influxdb_token
- name: INFLUXDB_ORG
inputType: FreeText
description: Organization name in InfluxDB.
required: false
value: {{influxdb_org}}
- name: INFLUXDB_DATABASE
inputType: FreeText
description: Database name in InfluxDB where data should be stored.
required: true
value: {{influxdb_database}}
- name: INFLUXDB_TAG_COLUMNS
inputType: FreeText
description: Columns to be used as tags when writing data to InfluxDB.
required: false
value: '[]'
- name: INFLUXDB_MEASUREMENT_NAME
inputType: FreeText
description: The InfluxDB measurement to write data to. If not specified, the name of the input topic will be used
required: false
value: {{influxdb_measurement}}
# This section describes the Topics of the data pipeline
topics:
- name: ai-chat-history-with-sentiment
persisted: true
configuration:
partitions: 1
replicationFactor: 1
retentionInMinutes: 1440
retentionInBytes: 52428800
- name: ai-chat
persisted: true
configuration:
partitions: 1
replicationFactor: 1
retentionInMinutes: 1440
retentionInBytes: 52428800