This commit is contained in:
Adil Hafeez 2024-10-27 18:45:32 -07:00
parent a52297287e
commit b6ff113fc1
4 changed files with 3 additions and 17 deletions

View file

@ -31,18 +31,5 @@
"CHAT_COMPLETION_ENDPOINT": "http://localhost:12000/v1"
}
},
{
"python": "${workspaceFolder}/venv/bin/python",
"name": "chatbot-ui (llm) streaming",
"cwd": "${workspaceFolder}/app",
"type": "debugpy",
"request": "launch",
"program": "run_stream.py",
"console": "integratedTerminal",
"env": {
"LLM": "1",
"CHAT_COMPLETION_ENDPOINT": "http://localhost:12000/v1"
}
}
]
}

View file

@ -17,4 +17,4 @@ COPY --from=builder /runtime /usr/local
COPY /app /app
WORKDIR /app
CMD ["python", "run_stream.py"]
CMD ["python", "run.py"]

View file

@ -13,11 +13,11 @@ services:
chatbot_ui:
build:
context: ../../chatbot_ui
dockerfile: Dockerfile
ports:
- "18080:8080"
environment:
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1 #this is only because we are running the sample app in the same docker container environemtn as archgw
# this is only because we are running the sample app in the same docker container environemtn as archgw
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:

View file

@ -16,7 +16,6 @@ print_debug() {
trap 'print_debug' INT TERM
log starting > ../build.log
log building function_callling demo