Factool / factool /env_config.py
EQ3A2A's picture
Upload folder using huggingface_hub
d195d4f
raw
history blame
638 Bytes
"""Environment configuration for Factool. """
import pydantic
class FactoolEnvConfig(pydantic.BaseSettings, frozen=True):
"""Environment configuration for Factool."""
openai_api_key: str = pydantic.Field(
default=None,
env="OPENAI_API_KEY",
description="API key for OpenAI",
)
serper_api_key: str = pydantic.Field(
default=None,
env="SERPER_API_KEY",
description="Key for Serper",
)
scraper_api_key: str = pydantic.Field(
default=None,
env="SCRAPER_API_KEY",
description="Key for Scraper",
)
factool_env_config = FactoolEnvConfig()