Ankush Gola
d3ec00b566
Callbacks Refactor [base] ( #3256 )
...
Co-authored-by: Nuno Campos <nuno@boringbits.io >
Co-authored-by: Davis Chase <130488702+dev2049@users.noreply.github.com >
Co-authored-by: Zander Chase <130414180+vowelparrot@users.noreply.github.com >
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2023-04-30 11:14:09 -07:00
Ankush Gola
ec59e9d886
Fix ChatAnthropic stop_sequences error ( #2919 ) ( #2920 )
...
Note to self: Always run integration tests, even on "that last minute
change you thought would be safe" :)
---------
Co-authored-by: Mike Lambert <mike.lambert@anthropic.com >
2023-04-14 17:22:01 -07:00
Mike Lambert
392f1b3218
Add Anthropic ChatModel to langchain ( #2293 )
...
* Adds an Anthropic ChatModel
* Factors out common code in our LLMModel and ChatModel
* Supports streaming llm-tokens to the callbacks on a delta basis (until
a future V2 API does that for us)
* Some fixes
2023-04-14 15:09:07 -07:00
Mario Kostelac
e7d6de6b1c
(ChatOpenAI) Add model_name to LLMResult.llm_output ( #1960 )
...
This makes sure OpenAI and ChatOpenAI have the same llm_output, and
allow tracking usage per model. Same work for OpenAI was done in
https://github.com/hwchase17/langchain/pull/1713 .
2023-03-24 08:51:16 -07:00
Harrison Chase
3ee32a01ea
Harrison/prompt layer ( #1547 )
...
Co-authored-by: Jonathan Pedoeem <jonathanped@gmail.com >
Co-authored-by: AbuBakar <abubakarsohail123@gmail.com >
2023-03-08 21:24:27 -08:00
Ankush Gola
27104d4921
fix ChatOpenAI.agenerate ( #1504 )
2023-03-07 15:22:05 -08:00
Harrison Chase
0e21463f07
(rfc) chat models ( #1424 )
...
Co-authored-by: Ankush Gola <ankush.gola@gmail.com >
2023-03-06 08:34:24 -08:00