|
import os
|
|
|
|
|
|
class Configs:
|
|
def __init__(self):
|
|
|
|
os.environ["PROJECT_ROOT"] = os.getcwd()
|
|
|
|
self.OPENAI_KEY = ""
|
|
self.chatCompletionModel = "gpt-3.5-turbo"
|
|
self.embeddingsModel = "text-embedding-ada-002"
|
|
|
|
self.generatedDatasetPath = f"{os.environ['PROJECT_ROOT']}/io/generated/dataset.json"
|
|
self.generatedEmbeddingsPath = f"{os.environ['PROJECT_ROOT']}/io/generated/embeddings.json"
|
|
|
|
self.spacyModel = 'en_core_web_sm'
|
|
|
|
self.generatedModelPath = f"{os.environ['PROJECT_ROOT']}/io/generated/model.sklearn"
|
|
|
|
|
|
configs = Configs()
|
|
|