einargs / tnhimss-bill

Mtsu Bill Team repository for the 2023 TNHIMSS hackathon.
1 stars 3 forks source link

Connect Chatbot to Server #3

Open einargs opened 1 year ago

einargs commented 1 year ago

The goal for this is to abstract talking to the chatbot behind an async python function:

async def send_to_chatbot(msg: str) -> str:
    ...

That way whether we have the chatbot running locally on the server or via the OpenAI API, we can just change the implementation of this function.