-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
50 lines (50 loc) · 1.4 KB
/
config.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
isEnabled: true
image: python:3.10-slim-bullseye
install:
command: apt update && pip install -r requirements.txt
run:
command: python api.py
envs:
- name: AZURE_ENDPOINT
value: https://hackathon-openai-1.openai.azure.com/
- name: AZURE_OPENAI_API_KEY
value: sm://{{.projectId}}/AZURE_OPENAI_API_KEY
- name: AZURE_OPENAI_API_VERSION
value: "2024-06-01"
- name: AZURE_OPENAI_DEPLOYMENT
value: "alt-text-gpt-4"
- name: AZURE_DEPLOYMENT
value: "Hackathon-Embeddings-ADA"
- name: VECTOR_STORE_ADDRESS
value: "https://hackathon-ai-search-1.search.windows.net"
- name: VECTOR_STORE_PASSWORD
value: sm://{{.projectId}}/VECTOR_STORE_PASSWORD
- name: INDEX_NAME
value: "buddy-ois1"
- name: AZURESEARCH_FIELDS_CONTENT_VECTOR
value: "text_vector"
- name: AZURESEARCH_FIELDS_CONTENT
value: "chunk"
- name: AZURESEARCH_FIELDS_ID
value: "chunk_id"
- name: OPENAI_API_KEY
value: sm://{{.projectId}}/openai-lab-token
- name: AZURE_OPENAI_ENDPOINT
value: https://hackathon-openai-1.openai.azure.com
- name: AZURE_OPENAI_CHAT_DEPLOYMENT_NAME
value: chat
settings:
type: service
persistentVolume:
shared: true
size: 1 # Gigabytes
mountPath: /data/test/
security:
type: "token"
enableCors: true
allowedGroups:
- br
useLoginFallback: false
corsOrigins:
- http://localhost:3000
- https://brbuddy.brdata-dev.de