Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging with chatwithpdf #281

Merged
Merged
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
29 changes: 25 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
{
"models": [

{
"serviceName": "flow_classification",
"modelBasePath": "src/text_classification/flow_classification/local/.",
"apiBasePath": "text_classification/flow_classification/local/",
"containerPort": 8000,
"environment": {},
"nginx": [],
"constraints": ["node.role==worker"],
"build": false
},
{
"serviceName": "llm_openai_gpt4turbo",
"modelBasePath": "src/llm/openai/chatgpt4turbo_preview/.",
"apiBasePath": "/llm/openai/chatgpt4turbo_preview",
"containerPort": 8000,
"environment": {
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
},
"nginx": [],
"build": true
},
{
"serviceName": "convo_starter",
"modelBasePath": "src/text_classification/convo_starter_orgbot/local/.",
Expand Down Expand Up @@ -40,7 +62,7 @@
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
},
"nginx": ["client_max_body_size 100M;", "proxy_read_timeout 600;", "proxy_connect_timeout 600;", "proxy_send_timeout 600;"],
"build": false
"build": true
},
{
"serviceName": "asr_whisper_en",
Expand Down Expand Up @@ -112,7 +134,7 @@
},
"nginx": [],
"constraints": ["node.labels.node_vm_type==gpu"],
"build": false
"build": true
},
{
"serviceName": "text_translation_azure",
Expand Down Expand Up @@ -195,8 +217,7 @@
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
},
"nginx": [],
"constraints": ["node.labels.node_vm_type==gpu"],
"build": false
"build": true
},
{
"serviceName": "llm_openai_gpt4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
torch==2.0.1 --index-url https://download.pytorch.org/whl/cpu
torch
transformers
quart
aiohttp
aiohttp