-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/gpt4 turbo in meeting analysis (#118)
* add gpt-4-turbo * add gpt4-turbo to sentius_management_assistant * add cards for gpt4-turbo * remove CUDA_VISIBLE_DEVICES from llm configs * remove CUDA_VISIBLE_DEVICES from llm configs * codestyle * revert utils.py in meeting skill * set management assistant back to gpt4 * correct port
- Loading branch information
Showing
15 changed files
with
90 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: openai_api_gpt4_turbo | ||
display_name: GPT-4 Turbo | ||
component_type: Generative | ||
model_type: NN-based | ||
is_customizable: false | ||
author: publisher@deeppavlov.ai | ||
description: A multilingual instruction-based large language model | ||
which is capable of code generation and other complex tasks. | ||
Same capabilities as the base gpt-4 but cheaper, with 128k context length, | ||
improved instruction following and more up-to-date real-world knowledge (up to April 2023). | ||
Paid. You must provide your OpenAI API key to use the model. | ||
Your OpenAI account will be charged according to your usage. | ||
ram_usage: 100M | ||
gpu_usage: null | ||
group: services | ||
connector: | ||
protocol: http | ||
timeout: 120.0 | ||
url: http://openai-api-gpt4-turbo:8190/respond | ||
dialog_formatter: null | ||
response_formatter: null | ||
previous_services: null | ||
required_previous_services: null | ||
state_manager_method: null | ||
tags: null | ||
endpoint: respond | ||
service: services/openai_api_lm/service_configs/openai-api-gpt4-turbo | ||
date_created: '2023-04-16T09:45:32' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
services/openai_api_lm/service_configs/openai-api-chatgpt-16k/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
SERVICE_PORT: 8167 | ||
SERVICE_NAME: openai_api_chatgpt_16k | ||
PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo-16k | ||
CUDA_VISIBLE_DEVICES: '0' | ||
FLASK_APP: server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
services/openai_api_lm/service_configs/openai-api-chatgpt/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
SERVICE_PORT: 8145 | ||
SERVICE_NAME: openai_api_chatgpt | ||
PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo | ||
CUDA_VISIBLE_DEVICES: '0' | ||
FLASK_APP: server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
services/openai_api_lm/service_configs/openai-api-davinci3/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
SERVICE_PORT: 8131 | ||
SERVICE_NAME: openai_api_davinci3 | ||
PRETRAINED_MODEL_NAME_OR_PATH: text-davinci-003 | ||
CUDA_VISIBLE_DEVICES: '0' | ||
FLASK_APP: server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
services/openai_api_lm/service_configs/openai-api-gpt4-turbo/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SERVICE_PORT: 8190 | ||
SERVICE_NAME: openai_api_gpt4_turbo | ||
PRETRAINED_MODEL_NAME_OR_PATH: gpt-4-1106-preview | ||
FLASK_APP: server |
34 changes: 34 additions & 0 deletions
34
services/openai_api_lm/service_configs/openai-api-gpt4-turbo/service.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: openai-api-gpt4-turbo | ||
endpoints: | ||
- ping | ||
- envvars_to_send | ||
- max_tokens | ||
- respond | ||
- generate_goals | ||
compose: | ||
env_file: | ||
- .env | ||
- .env_azure | ||
build: | ||
args: | ||
SERVICE_PORT: 8190 | ||
SERVICE_NAME: openai_api_gpt4_turbo | ||
PRETRAINED_MODEL_NAME_OR_PATH: gpt-4-1106-preview | ||
FLASK_APP: server | ||
context: . | ||
dockerfile: ./services/openai_api_lm/Dockerfile | ||
command: flask run -h 0.0.0.0 -p 8190 | ||
environment: | ||
- FLASK_APP=server | ||
deploy: | ||
resources: | ||
limits: | ||
memory: 100M | ||
reservations: | ||
memory: 100M | ||
volumes: | ||
- ./services/openai_api_lm:/src | ||
- ./common:/src/common | ||
ports: | ||
- 8190:8190 | ||
proxy: null |
1 change: 0 additions & 1 deletion
1
services/openai_api_lm/service_configs/openai-api-gpt4/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
SERVICE_PORT: 8159 | ||
SERVICE_NAME: openai_api_gpt4 | ||
PRETRAINED_MODEL_NAME_OR_PATH: gpt-4 | ||
CUDA_VISIBLE_DEVICES: '0' | ||
FLASK_APP: server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters