Relative Content

Tag Archive for pythonlangchainlarge-language-model

Passing Additional Information in LangChain abatch Calls

Given an abatch call for a LangChain chain, I need to pass additional information, beyond just the content, to the function so that this information is available in the callback, specifically in the on_chat_model_start method.

How to use a finetuned LLM with langchain?

I’m working on finetuning an LLM like LLAMA2 or LLAMA3 on a specific task which is recommandation of questionnaires depending on the purpose of the study and the data researchers want to collect.