Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from loyal812/refactor/user-friendly
Browse files Browse the repository at this point in the history
refactor: project as user friendly
  • Loading branch information
loyal812 authored Mar 28, 2024
2 parents 2ee14a6 + b1ba2b9 commit e72fc6d
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 300 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ http://{your elastic ip}:5000/total
create_api + finetuning + chatting

```
py .\script\total_process.py --api_url "api_url" --data_id "regression013" --user "user email" --title "title" --description "description" --question "hi"
py .\script\process.py --step "all" --api_url "api_url" --data_id "regression013" --user "user email" --title "title" --description "description" --question "hi"
```
- Postman
![Alt text](./images/image-34.png)
Expand All @@ -265,7 +265,7 @@ curl -X 'POST' \

http://{your elastic ip}:5000/create_api
```
py .\script\create_api_key.py --api_url "api_url" --data_id "regression013" --user "user email" --title "title" --description "description"
py .\script\process.py --step "create_api" --api_url "api_url" --data_id "regression013" --user "user email" --title "title" --description "description"
```
- Postman
![Alt text](./images/image-29.png)
Expand All @@ -286,7 +286,7 @@ curl -X 'POST' \

http://{your elastic ip}:5000/delete_api
```
py .\script\delete_api_key.py --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key"
py .\script\process.py --step "delete_api" --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key"
```
- Postman
![Alt text](./images/image-30.png)
Expand All @@ -306,7 +306,7 @@ curl -X 'POST' \

http://{your elastic ip}:5000/check_api
```
py .\script\check_api_key.py --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key"
py .\script\process.py --step "check_api" --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key"
```
- postman
![Alt text](./images/image-31.png)
Expand All @@ -327,7 +327,7 @@ curl -X 'POST' \

http://{your elastic ip}:5000/finetuning
```
py .\script\finetuning.py --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key"
py .\script\process.py --step "finetuning" --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key"
```
- postman
![Alt text](./images/image-33.png)
Expand All @@ -347,7 +347,7 @@ curl -X 'POST' \

http://{your elastic ip}:5000/conversation
```
py .\script\conversation.py --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key" --question "hi"
py .\script\process.py --step "chatting" --api_url "api_url" --data_id "regression013" --user "user email" --api_key "api key" --question "hi"
```
- postman
![Alt text](./images/image-32.png)
Expand Down
50 changes: 0 additions & 50 deletions script/chatting.py

This file was deleted.

47 changes: 0 additions & 47 deletions script/check_api_key.py

This file was deleted.

50 changes: 0 additions & 50 deletions script/create_api_key.py

This file was deleted.

47 changes: 0 additions & 47 deletions script/delete_api_key.py

This file was deleted.

47 changes: 0 additions & 47 deletions script/finetuning.py

This file was deleted.

Loading

0 comments on commit e72fc6d

Please sign in to comment.