There's been some additions to the LLM interface over the past few days: Method to estimate # of tokens, batching of inputs, returning extra information, serialization of LLM configurations @AkashSamant4 @thepromptking @0xAwill Let's walk through these improvements:
@langchain
-
LangChain v0.0.36 Release with Python 3.11 and LLM Improvements
By
–
LangChain v0.0.36: Adding Python 3.11 to Testing – cclaus
Doc improvements – @BruceHammer @ankush_gola11 Unit test/code coverage – @HunterGerlach Base LLM improvements – @thepromptking @0xAwill
LLM serialization – @AkashSamant4 Keep an out for on LLM improvements -
LangChain Opens Contributing Flow to Growing Community
By
–
No new release today, but some updates to our contributing flow to help with all the interest! Contributing Docs: https://
github.com/hwchase17/lang
chain/blob/master/CONTRIBUTING.md
… Labeled + Improved Issues: https://
github.com/hwchase17/lang
chain/issues
… `contributing` channel in Discord: https://
discord.gg/6adMQxSpJS Let's have fun 🙂 -
Language Models Excel at Reasoning and Selection Tasks
By
–
The underlying language model picks one! They’ve gotten really good at reasoning
-
LangChain v0.0.35 Release: Documentation Improvements and New Features
By
–
LangChain v0.0.35 Doc improvements @HunterGerlach Fix typing of parameters, flagged by @fcampeot
Expose more parameters for the q&a chains, suggest by @johnjnay Add a `.clear()` method for memory, @shobith and @andrewgleave Support -1 for max_tokens, @BruceHammer -

LLMs Fact-Checking Themselves Through Prompt Chaining
By
–
@0xjasper came up with a very cool example of LLMs fact checking themselves with prompt chaining. See the original tweet thread below
-

LangChain version 0.0.34: OpenAI moderation and fact checking
By
–
LangChain version 0.0.34 Doc cleanup from `moozilla` (if on twitter lmk!) Support for @OpenAI's moderation endpoint LLMFactChecker chain from @thepromptking, original idea by @0xjasper Some more info on the LLM fact checker chain
-
Simple conversation buffer memory with dynamic N adjustment
By
–
it is pretty simple at the moment – just keeps a buffer of the past N conversations in memory. a pretty simple improvement would be dynamically adjusting N based on the length of the conversations
-
Improving ChatGPT’s Math Abilities with LangChain
By
–
An awesome example improving ChatGPT's much maligned math abilities!
-
Build ChatGPT-like Applications with Official APIs Now
By
–
Tired of using an "unofficial" ChatGPT api? Just use this instead! More seriously: applications like ChatGPT are very possible for anyone to develop NOW. What will you build?