langchain/docs/docs
Vinay Kakade dd0cd98861
Add support for ChatOpenAI models in Infino callback handler (#11608)
**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)
2023-10-11 14:00:54 -07:00
..
_static Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
_templates Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
additional_resources Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
expression_language Fix runnable docs link (#11675) 2023-10-11 13:11:23 -07:00
get_started Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
guides Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
integrations Add support for ChatOpenAI models in Infino callback handler (#11608) 2023-10-11 14:00:54 -07:00
modules Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
use_cases Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
.gitignore Restructure docs (#11620) 2023-10-10 12:55:19 -07:00
community.md Restructure docs (#11620) 2023-10-10 12:55:19 -07:00