2024-07-10 03:43:22 -04:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
2024-09-19 01:09:26 -04:00
|
|
|
class PromptKeys(str, Enum):
|
2024-07-10 03:43:22 -04:00
|
|
|
ENTITY = "entity_extraction"
|
|
|
|
SUMMARY = "summarize_descriptions"
|
|
|
|
COMMUNITY = "community_report"
|
|
|
|
|
|
|
|
|
2024-09-19 01:09:26 -04:00
|
|
|
class PromptFileNames(str, Enum):
|
2024-07-10 03:43:22 -04:00
|
|
|
ENTITY = "entity_extraction_prompt.txt"
|
|
|
|
SUMMARY = "summarize_descriptions_prompt.txt"
|
|
|
|
COMMUNITY = "community_report_prompt.txt"
|
|
|
|
|
|
|
|
|
2024-09-19 01:09:26 -04:00
|
|
|
class PromptTextAreas(str, Enum):
|
2024-07-10 03:43:22 -04:00
|
|
|
ENTITY = "entity_text_area"
|
|
|
|
SUMMARY = "summary_text_area"
|
|
|
|
COMMUNITY = "community_text_area"
|
|
|
|
|
|
|
|
|
2024-09-19 01:09:26 -04:00
|
|
|
class StorageIndexVars(str, Enum):
|
2024-07-10 03:43:22 -04:00
|
|
|
SELECTED_STORAGE = "selected_storage"
|
|
|
|
INPUT_STORAGE = "input_storage"
|
|
|
|
SELECTED_INDEX = "selected_index"
|
|
|
|
|
|
|
|
|
2024-09-19 01:09:26 -04:00
|
|
|
class EnvVars(str, Enum):
|
2024-07-10 03:43:22 -04:00
|
|
|
APIM_SUBSCRIPTION_KEY = "APIM_SUBSCRIPTION_KEY"
|
|
|
|
DEPLOYMENT_URL = "DEPLOYMENT_URL"
|