mirror of https://github.com/hwchase17/langchain
Fixed Regular expression (#2933)
### https://github.com/hwchase17/langchain/issues/2898 Instead of `"Action" and "Action Input"` keywords, we are getting `"Action 1" and "Action 1 Input" or "Action Input 1" ` from **gpt-3.5-turbo** Updated the Regular expression to handle all these cases Attaching the screenshot of the result from the updated Regular expression. <img width="1036" alt="Screenshot 2023-04-16 at 1 39 00 AM" src="https://user-images.githubusercontent.com/55012400/232251184-23ca6cc2-7229-411a-b6e1-53b2f5ec18a5.png">pull/2986/head
parent
88d3ce12b8
commit
1e655d5ffd
Loading…
Reference in New Issue