ДОбавлены эмбеддинги на базе гигачата
This commit is contained in:
@@ -2,8 +2,15 @@ from __future__ import annotations
|
||||
|
||||
import os
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
from typing import Iterable, Sequence
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
# Load .env from repo root when config is used (e.g. for local runs)
|
||||
_repo_root = Path(__file__).resolve().parent.parent.parent
|
||||
load_dotenv(_repo_root / ".env")
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class AppConfig:
|
||||
|
||||
Reference in New Issue
Block a user