-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into CAI-191-fix-error-visibility
- Loading branch information
Showing
50 changed files
with
1,569 additions
and
1,016 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"nextjs-website": patch | ||
--- | ||
|
||
Fix chatbot issue with sending empty messages |
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
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,57 @@ | ||
services: | ||
api: | ||
build: | ||
context: .. | ||
dockerfile: docker/app.local.Dockerfile | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- ..:/app | ||
- ./files/.aws:/root/.aws | ||
- ../../nextjs-website/out:/app/build-devp/out | ||
depends_on: | ||
redis: | ||
condition: service_started | ||
dynamodb: | ||
condition: service_started | ||
networks: | ||
- ntw | ||
|
||
dynamodb: | ||
image: amazon/dynamodb-local:2.5.2 | ||
environment: | ||
- AWS_ACCESS_KEY_ID=dummy | ||
- AWS_SECRET_ACCESS_KEY=dummy | ||
- AWS_DEFAULT_REGION=local | ||
ports: | ||
- "8000:8000" | ||
networks: | ||
- ntw | ||
|
||
redis: | ||
image: redis/redis-stack:7.2.0-v13 | ||
ports: | ||
- "6379:6379" | ||
- "8001:8001" | ||
networks: | ||
- ntw | ||
|
||
create_index: | ||
build: | ||
context: .. | ||
dockerfile: docker/app.local.Dockerfile | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- ..:/app | ||
- ../../nextjs-website/out:/app/build-devp/out | ||
command: "python src/modules/create_vector_index.py --params config/params.yaml" | ||
tty: true | ||
depends_on: | ||
redis: | ||
condition: service_started | ||
networks: | ||
- ntw | ||
|
||
networks: | ||
ntw: |
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,2 @@ | ||
#!/bin/bash | ||
docker compose -f docker/compose.yaml -p chatbot run create_index |
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,2 @@ | ||
#!/bin/bash | ||
docker compose -f docker/compose.yaml -p chatbot up api |
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,2 @@ | ||
#!/bin/bash | ||
docker compose -f docker/compose.yaml -p chatbot up create_index |
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,2 @@ | ||
#!/bin/bash | ||
docker run -it --env-file ./.env fastapi-local bash |
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,2 @@ | ||
[profile default] | ||
region = eu-south-1 |
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,3 @@ | ||
[default] | ||
aws_access_key_id = 123 | ||
aws_secret_access_key = xyz |
Oops, something went wrong.