gaudyb 0e1a6e3770
Unified search added to graphrag (#1862)
* unified search app added to graphrag repository

* ignore print statements

* update words for unified-search

* fix lint errors

* fix lint error

* fix module name

---------

Co-authored-by: Gaudy Blanco <gaudy-microsoft@MacBook-Pro-m4-Gaudy-For-Work.local>
2025-04-07 11:59:02 -06:00

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