prolego-team / neo-sophia

Applying the latest advancements in AI and machine learning to solve complex business problems.
BSD 3-Clause "New" or "Revised" License
66 stars 26 forks source link

Two-DB example #86

Closed jmpounders closed 1 year ago

jmpounders commented 1 year ago

To run: python examples/bank_agent_two.py

UPDATE: This is now chat-about-a-customer. You enter a customer name and the agent will answer questions continuously about that customer.

TODO:

See example questions in gradio app.

Note: message history is not preserved between questions. This can be done with a bit of work, but for now, each question needs to be stand-alone.

jmpounders commented 1 year ago

Is my understanding correct that you factored the "simple" agent out into react_chat.py? If so, this breaks bank_agent and the bank agent evaluation stuff.

Good call. Fixed.

bdzimmer commented 1 year ago

@jmpounders would like to see a clean merge with main before approving. I want to make sure the bank_agent_eval code still works.

jmpounders commented 1 year ago

@bdzimmer Merge conflicts resolved. Note the refactor of react into react and react_chat affected the eval script. I tested on this version and everything seems to work.