Setting up LangChain for an Interactive Custom Workflow #5813
Unanswered
ss7799166340
asked this question in
Q&A
Replies: 1 comment
-
You can use langflow or flowwise |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm interested in configuring LangChain with the GPT-3.5 language model (LLM) to create a bot capable of guiding users through different workflows and prompting for inputs as needed. The objective is to establish a dynamic system where each workflow consists of multiple steps, with specific inputs required at each stage. The bot should proactively request users to provide the necessary information and seamlessly progress through the workflow. However, I'm currently grappling with understanding how to approach this challenge. Could you please guide me on setting up this workflow?
For example, let's consider an insurance renewal bot. Here's an anticipated conversation flow:
Bot: Welcome to the insurance renewal system! We offer a variety of services to cater to your insurance needs. You can choose to purchase a new insurance policy, renew your existing policy, or file a claim. Please let us know which option you would like to proceed with.
User: I would like to renew my car insurance.
Bot: Certainly, I can assist you with that. Could you please provide me with your insurance details?
User: My insurance policy number is 123456789FFKK.
Bot: Let me check the status of your insurance policy. Please allow me a moment.
Bot: I've found the details. It appears that your insurance policy expired a couple of weeks ago. However, you still have a grace period during which you can make the payment and reinstate the policy. If you wish to proceed with the renewal, please type "yes, I want to renew."
User: Yes, I would like to renew my insurance policy.
Bot: Great! Let me assist you. I will send the payment link to your registered email address. Once you make the payment, please provide the confirmation below so that I can proceed with further assistance.
User: Yes, I made the payment.
Bot: Thank you for making the payment. Your insurance policy has been successfully renewed, and a copy has been sent to your email address. We would appreciate it if you could share your feedback about this conversation. Have a wonderful day!
User: Thank you! Take care.
Beta Was this translation helpful? Give feedback.
All reactions