push gitignore
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import logging.config
|
||||
import os
|
||||
|
||||
import litserve as ls
|
||||
from app.core.config import DEBUG, settings
|
||||
from app.server.ChatbotAgent.agent_server import LCAgent
|
||||
from app.server.ChatbotAgent.chatbot_server import LCChatBot
|
||||
from logging_env import LOGGER_CONFIG_DICT
|
||||
@@ -20,6 +20,8 @@ logging.config.dictConfig(LOGGER_CONFIG_DICT)
|
||||
|
||||
# STEP 2: START THE SERVER
|
||||
if __name__ == "__main__":
|
||||
logger.info(f"DEBUG -> :{DEBUG}")
|
||||
logger.info(f"VECTOR_DB_DIR -> :{settings.VECTOR_DB_DIR}")
|
||||
chat_boot_api = LCChatBot(enable_async=True, stream=True, api_path='/api/v1/chatbot')
|
||||
agent_api = LCAgent(enable_async=True, api_path='/api/v1/agent')
|
||||
server = ls.LitServer([chat_boot_api, agent_api])
|
||||
|
||||
Reference in New Issue
Block a user