Files
langchain-python/langchain
Ma Donghao 6f62e5461c Update the parser regex of map_rerank (#6419)
Sometimes the score responded by chatgpt would be like 'Respone
example\nScore: 90 (fully answers the question, but could provide more
detail on the specific error message)'
For the score contains not only numbers, it raise a ValueError like 


Update the RegexParser from `.*` to `\d*` would help us to ignore the
text after number.

Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-07-13 03:01:42 -04:00
..
2023-07-11 10:11:21 -04:00
2023-07-07 02:42:28 -04:00
2023-07-07 19:57:59 -07:00
2023-07-13 03:00:33 -04:00
2023-07-02 22:38:59 -04:00
2023-06-08 21:15:14 -07:00
2023-06-03 16:48:48 -07:00
2022-11-12 11:22:32 -08:00
2023-07-07 02:42:28 -04:00