Skip to content

Commit

Permalink
Merge pull request Samagra-Development#281 from ChatWithPDF/restructure
Browse files Browse the repository at this point in the history
Merging with chatwithpdf
  • Loading branch information
Gautam-Rajeev authored Dec 12, 2023
2 parents 1922c32 + 2e21f60 commit 182f55c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
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

0 comments on commit 182f55c

Please sign in to comment.