Memorize
Fine-tuning LLM itself to memorize information using unsupervised learning.
This tool requires LLMs that support fine-tuning. Currently, only langchain.llms import GradientLLM
is supported.
Imports
import os
from langchain.agents import AgentExecutor, AgentType, initialize_agent, load_tools
from langchain.chains import LLMChain
from langchain.memory import ConversationBufferMemory
from langchain_community.llms import GradientLLM
API Reference:AgentExecutor | AgentType | initialize_agent | load_tools | LLMChain | ConversationBufferMemory | GradientLLM