Open einargs opened 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.
The goal for this is to abstract talking to the chatbot behind an async python function:
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.