File size: 434 Bytes
37e46db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from dataclasses import dataclass
from pathlib import Path
from dotenv import load_dotenv


load_dotenv()


@dataclass
class DataIngestionConfig:
    ingestion_dir: Path
    cluster_db: str
    prod_collection: str
    category_collection: str
    
    
@dataclass
class VectorStoreConfig:
    pc_index: str
    params: Path
    
    
@dataclass
class InferenceAPIConfig:
    cluster_db: str
    prod_collection: str
    pc_index: str