-
Notifications
You must be signed in to change notification settings - Fork 7
Fashion Retail Demo: Data Regeneration & Confidence Scoring Config #229
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
Open
srinigsan
wants to merge
11
commits into
main
Choose a base branch
from
srini-c360-fashion-retail-demo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
281c805
C360 Fashion Retail demo setup with Docker Compose, Postgres schema, …
srinigsan d0f9837
C360 Fashion Retail demo setup with Docker Compose, Postgres schema, …
srinigsan 0d1247c
Merge branch 'main' into srini-c360-fashion-retail-demo
srinigsan 6ab71e3
update configs and metadata for c360 fashion retail demo
srinigsan 0f0f88f
Merge branch 'main' into srini-c360-fashion-retail-demo
typhonius d8e3d6d
Minor tweaks and improvements:
typhonius 3a9f248
Merge branch 'main' into srini-c360-fashion-retail-demo
typhonius 162fe54
Merge branch 'main' into srini-c360-fashion-retail-demo
srinigsan b773bd1
Updated the data generator & recreated the dataset
srinigsan 9d025dc
Updated confidence score config
srinigsan c5a2673
Merge remote-tracking branch 'origin/main' into srini-c360-fashion-re…
srinigsan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
.data/c360-fashion-retail/postgres/customer_service_interactions.csv
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
.data/c360-fashion-retail/postgres/customer_style_embeddings.csv
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
.data/c360-fashion-retail/postgres/fashion_research_documents.csv
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
.data/c360-fashion-retail/postgres/style_similarity_matches.csv
Git LFS file not shown
Git LFS file not shown
This file contains hidden or 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 hidden or 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
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be here or in |
This file contains hidden or 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,6 +1,33 @@ | ||
| include: | ||
| - path: app/connector/postgres_retail/compose.yaml | ||
| services: | ||
| # PostgreSQL Database with automatic data generation and import | ||
| postgres_retail: | ||
| image: postgres:17-alpine | ||
| environment: | ||
| POSTGRES_DB: retail_fashion | ||
| POSTGRES_USER: postgres | ||
| POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-hasura123} | ||
| POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8" | ||
| ports: | ||
| - "5433:5433" | ||
| volumes: | ||
| - postgres_data:/var/lib/postgresql/data | ||
| - ../../.data/c360-fashion-retail/postgres:/docker-entrypoint-initdb.d | ||
| command: > | ||
| postgres | ||
| -c port=5433 | ||
| -c shared_preload_libraries=pg_stat_statements | ||
| -c pg_stat_statements.track=all | ||
| -c max_connections=200 | ||
| healthcheck: | ||
| test: ["CMD-SHELL", "pg_isready -U postgres -d retail_fashion -p 5433"] | ||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 5 | ||
| networks: | ||
| - c360-network | ||
|
|
||
| engine: | ||
| build: | ||
| context: engine | ||
|
|
@@ -19,17 +46,25 @@ services: | |
| io.hasura.ddn.service-name: engine | ||
| ports: | ||
| - 3280:3000 | ||
| depends_on: | ||
| postgres_retail: | ||
| condition: service_healthy | ||
| networks: | ||
| - c360-network | ||
| otel-collector: | ||
| command: | ||
| - --config=/etc/otel-collector-config.yaml | ||
| environment: | ||
| HASURA_DDN_PAT: ${HASURA_DDN_PAT} | ||
| image: otel/opentelemetry-collector:0.104.0 | ||
| ports: | ||
| - 4317:4317 | ||
| - 14317:4317 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why? |
||
| - 4318:4318 | ||
| volumes: | ||
| - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml | ||
| networks: | ||
| - c360-network | ||
|
|
||
| promptql-playground: | ||
| environment: | ||
| CONFIG_PATH: /app/promptql_config.json | ||
|
|
@@ -47,3 +82,18 @@ services: | |
| volumes: | ||
| - ./engine/build/promptql_config.json:/app/promptql_config.json | ||
| - ./.promptql_playground.db:/app/promptql_playground/promptql_playground.db | ||
| depends_on: | ||
| postgres_retail: | ||
| condition: service_healthy | ||
| engine: | ||
| condition: service_started | ||
| networks: | ||
| - c360-network | ||
|
|
||
| volumes: | ||
| postgres_data: | ||
| driver: local | ||
|
|
||
| networks: | ||
| c360-network: | ||
| driver: bridge | ||
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want the original one here right as this is the local env file we deploy as part of all builds and links up to the
env.templatein.data