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

change openai llm #615

Merged
merged 2 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion assistant_dists/deepy_assistant/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- "./common:/src/common"
ports:
- 8135:8135
openai-api-davinci3:
openai-api-openai-api-chatgpt:
volumes:
- "./services/openai_api_lm:/src"
- "./common:/src/common"
Expand Down
12 changes: 6 additions & 6 deletions assistant_dists/deepy_assistant/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
agent:
command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_assistant/pipeline_conf.json'
environment:
WAIT_HOSTS: "ranking-based-response-selector:8002, sentence-ranker:8128, prompt-selector:8135, openai-api-davinci3:8131,
WAIT_HOSTS: "ranking-based-response-selector:8002, sentence-ranker:8128, prompt-selector:8135, openai-api-chatgpt:8131,
dff-deepy-prompted-skill:8152"
WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-1000}
HIGH_PRIORITY_INTENTS: 1
Expand Down Expand Up @@ -75,13 +75,13 @@ services:
reservations:
memory: 3G

openai-api-davinci3:
openai-api-chatgpt:
env_file: [ .env ]
build:
args:
SERVICE_PORT: 8131
SERVICE_NAME: openai_api_davinci3
PRETRAINED_MODEL_NAME_OR_PATH: text-davinci-003
SERVICE_NAME: openai_api_chatgpt
PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo
context: .
dockerfile: ./services/openai_api_lm/Dockerfile
command: flask run -h 0.0.0.0 -p 8131
Expand All @@ -102,8 +102,8 @@ services:
SERVICE_PORT: 8152
SERVICE_NAME: dff_deepy_prompted_skill
PROMPT_FILE: common/prompts/deepy.json
GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond
GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8131/respond
GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SERVICE_PORT: 8152
SERVICE_NAME: dff_deepy_prompted_skill
PROMPT_FILE: common/prompts/deepy.json
GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond
GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8131/respond
GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ compose:
SERVICE_PORT: 8152
SERVICE_NAME: dff_deepy_prompted_skill
PROMPT_FILE: common/prompts/deepy.json
GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond
GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8131/respond
GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION
Expand Down
Loading