Skip to content

Commit

Permalink
data-analysis changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alanraju-aot committed Mar 11, 2024
1 parent e26025c commit a577fce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion forms-flow-data-analysis-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ Variable name | Meaning | Possible values | Default value |
`DATA_ANALYSIS_DB_PASSWORD` |formsflow data analysis database postgres password|Used on installation to create the database.Choose your own|`changeme`
`DATA_ANALYSIS_DB_NAME` |formsflow data analysis database name|Used on installation to create the database.Choose your own|`dataanalysis`
`DATA_ANALYSIS_DB_URL` |JDBC DB Connection URL for formsflow||`postgresql://general:changeme@forms-flow-data-analysis-db:5432/dataanalysis`
`DATA_ANALYSIS_API_BASE_URL`:triangular_flag_on_post:|formsflow.ai Data analysis API URL||`http://{your-ip-address}:5001`
`MODEL_ID`:triangular_flag_on_post:|formsflow.ai Hugging face model id||`Seethal/sentiment_analysis_generic_dataset`

**NOTE : Default realm is `forms-flow-ai`**
Expand Down
1 change: 0 additions & 1 deletion forms-flow-data-analysis-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ services:
JWT_OIDC_AUDIENCE: ${KEYCLOAK_WEB_CLIENT_ID:-forms-flow-web}
JWT_OIDC_CACHING_ENABLED: 'True'
JWT_OIDC_JWKS_CACHE_TIMEOUT: 300
DATA_ANALYSIS_API_BASE_URL: ${DATA_ANALYSIS_API_BASE_URL}
MODEL_ID: ${MODEL_ID:-Seethal/sentiment_analysis_generic_dataset}
DATABASE_SUPPORT: ${DATABASE_SUPPORT:-DISABLED}
API_LOG_ROTATION_WHEN: ${API_LOG_ROTATION_WHEN:-d}
Expand Down
1 change: 0 additions & 1 deletion forms-flow-data-analysis-api/sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ DATA_ANALYSIS_DB_USER=general
DATA_ANALYSIS_DB_PASSWORD=changeme
DATA_ANALYSIS_DB_NAME=dataanalysis
DATA_ANALYSIS_DB_URL=postgresql://general:changeme@forms-flow-data-analysis-db:5432/dataanalysis
DATA_ANALYSIS_API_BASE_URL=http://localhost:5001
MODEL_ID=Seethal/sentiment_analysis_generic_dataset
DATABASE_SUPPORT=DISABLED

Expand Down
1 change: 0 additions & 1 deletion forms-flow-data-analysis-api/src/api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class _Config: # pylint: disable=too-few-public-methods
JWT_OIDC_CACHING_ENABLED = os.getenv("JWT_OIDC_CACHING_ENABLED")
JWT_OIDC_JWKS_CACHE_TIMEOUT = 300

DATA_ANALYSIS_API_BASE_URL = os.getenv("DATA_ANALYSIS_API_BASE_URL", default="")

DATABASE_SUPPORT = os.getenv("DATABASE_SUPPORT", default=Service.DISABLED.value)

Expand Down

0 comments on commit a577fce

Please sign in to comment.