James Hope
James Hope
Home
Posts
Light
Dark
Automatic
AgenticAI
Tool-Agents with the watsonx LangChain BaseChatModel
The watsonx.ai BaseChatModel supports integration with LangChain for building LangChain Tool-Agents. The following code demonstrates use of the LangChain watsonx BaseChatModel to construct a Tool-Agent. The application logic follows: (1) a call to the language model to determine which tools to invoke; (2) the programmatic invocation of the selected tools (3) a final call to the watsonx language model with the response from the tools.
Jul 13, 13130
2 min read
AgenticAI
,
AI
Improving Language Models Inductive Bias with Q*
Q*, a hybridisation of Q-learning and the pathfinding algorithm A*, has the potential to enhance the inductive bias of a language model in tasks that demand certain types of reasoning. An implementation of Q* is described here https://lnkd.
Jul 10, 10100
3 min read
generativeAI
,
AgenticAI
Cite
×