6b7e6b44f1
Python Build and Type Check / python-ci (ubuntu-latest, 3.11) (push) Has been cancelled
Python Build and Type Check / python-ci (ubuntu-latest, 3.13) (push) Has been cancelled
Python Build and Type Check / python-ci (windows-latest, 3.11) (push) Has been cancelled
Python Build and Type Check / python-ci (windows-latest, 3.13) (push) Has been cancelled
Python Integration Tests / python-ci (ubuntu-latest, 3.13) (push) Has been cancelled
Python Integration Tests / python-ci (windows-latest, 3.13) (push) Has been cancelled
Python Notebook Tests / python-ci (ubuntu-latest, 3.13) (push) Has been cancelled
Python Notebook Tests / python-ci (windows-latest, 3.13) (push) Has been cancelled
Python Smoke Tests / python-ci (ubuntu-latest, 3.13) (push) Has been cancelled
Python Smoke Tests / python-ci (windows-latest, 3.13) (push) Has been cancelled
Python Unit Tests / python-ci (ubuntu-latest, 3.13) (push) Has been cancelled
Python Unit Tests / python-ci (windows-latest, 3.13) (push) Has been cancelled
gh-pages / build (push) Has been cancelled
Python Publish (pypi) / Upload release to PyPI (push) Has been cancelled
Spellcheck / spellcheck (push) Has been cancelled
34 lines
1.3 KiB
Python
34 lines
1.3 KiB
Python
# Copyright (c) 2024 Microsoft Corporation.
|
|
# Licensed under the MIT License
|
|
|
|
"""Data config module."""
|
|
|
|
# This file is used to store configurations for the graph-indexed data and the LLM/embeddings models used in the app.
|
|
|
|
# name of the table in the graph-indexed data where the communities are stored
|
|
communities_table = "output/communities"
|
|
|
|
# name of the table in the graph-indexed data where the community reports are stored
|
|
community_report_table = "output/community_reports"
|
|
|
|
# name of the table in the graph-indexed data where the entity embeddings are stored
|
|
entity_table = "output/entities"
|
|
|
|
# name of the table in the graph-indexed data where the entity relationships are stored
|
|
relationship_table = "output/relationships"
|
|
|
|
# name of the table in the graph-indexed data where the entity covariates are stored
|
|
covariate_table = "output/covariates"
|
|
|
|
# name of the table in the graph-indexed data where the text units are stored
|
|
text_unit_table = "output/text_units"
|
|
|
|
# default configurations for LLM's answer generation, used in all search types
|
|
# this should be adjusted based on the token limits of the LLM model being used
|
|
# The following setting is for gpt-4-1106-preview (i.e. gpt-4-turbo)
|
|
# For gpt-4 (token-limit = 8k), a good setting could be:
|
|
default_suggested_questions = 5
|
|
|
|
# default timeout for streamlit cache
|
|
default_ttl = 60 * 60 * 24 * 7
|