properly loading .env file with dotenv
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import os
|
||||
from typing import List, Dict, Any, Optional, Tuple
|
||||
from dotenv import load_dotenv
|
||||
from langchain_core.tools import BaseTool, tool
|
||||
from langchain_core.runnables import RunnableConfig
|
||||
from langchain_core.messages import HumanMessage, AIMessage, BaseMessage
|
||||
@@ -15,6 +16,9 @@ from loguru import logger
|
||||
from retrieval import create_retriever
|
||||
from vector_storage import initialize_vector_store
|
||||
|
||||
# Load environment variables
|
||||
load_dotenv()
|
||||
|
||||
|
||||
def get_llm_model_info(llm_model: str = None) -> Tuple[str, str, str, str, str]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user