DEBO-V1 / bots /debate_bot.py
Unggi's picture
module
45e6015
raw
history blame
715 Bytes
import re
import random
from langchain.prompts import PromptTemplate
from modules.gpt_modules import gpt_call
from .normal_debate import nomal_debator
#############################################
# Debate bot setting
#############################################
def debate_bot(prompt, history="", debate_subject="", bot_role="", history_num=0):
if bot_role == "ํ† ๋ก ":
bot_response = nomal_debator(prompt, history, debate_subject, bot_role, history_num)
elif bot_role == "์ฃผ์ œ ์ •์˜":
pass
elif bot_role == "POI ์—ฐ์Šต":
pass
elif bot_role == "์—ญํ•  ์ถ”์ฒœ":
pass
elif bot_role == "์ฃผ์žฅ ๋น„ํŒ":
pass
else:
print("bot_role error")