mirror of https://github.com/hwchase17/langchain
Add successful request count to OpenAI callback (#2128)
I've found it useful to track the number of successful requests to OpenAI. This gives me a better sense of the efficiency of my prompts and helps compare map_reduce/refine on a cheaper model vs. stuffing on a more expensive model with higher capacity.pull/2141/head
parent
4ab66c4f52
commit
8441cbfc03
Loading…
Reference in New Issue