mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-21 23:17:48 +00:00
**Description:** This PR adds support for ChatOpenAI models in the Infino callback handler. In particular, this PR implements `on_chat_model_start` callback, so that ChatOpenAI models are supported. With this change, Infino callback handler can be used to track latency, errors, and prompt tokens for ChatOpenAI models too (in addition to the support for OpenAI and other non-chat models it has today). The existing example notebook is updated to show how to use this integration as well. cc/ @naman-modi @savannahar68 **Issue:** https://github.com/langchain-ai/langchain/issues/11607 **Dependencies:** None **Tag maintainer:** @hwchase17 **Twitter handle:** [@vkakade](https://twitter.com/vkakade) |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
additional_resources | ||
expression_language | ||
get_started | ||
guides | ||
integrations | ||
modules | ||
use_cases | ||
.gitignore | ||
community.md |