Replies: 2 comments 2 replies
-
🤖 Hello @artemvk7, Nice to see you again! I hope you're doing well. I appreciate your continued interest in the LangChain project. Based on the context provided, it seems like you're on the right track with your current implementation. However, to create an agent that can query and answer questions from documents stored in Azure Blob Storage, with the agent having memory capabilities, you might need to make a few modifications. Firstly, you need to create an instance of from langchain_core.models import LanguageModel
from langchain_core.agents import AgentWithMemory
# Initialize the language model
model = LanguageModel()
# Initialize the agent with memory capabilities
agent = AgentWithMemory(model=model, documents=documents) Next, you can use the response = agent.answer("your_question") Please replace This code assumes that the Also, it's important to note that the For more details, you can refer to the following sources:
I hope this helps! If you have any more questions or need further clarification, feel free to ask. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
I there any update on this issue but with v0.3 and langgraph?... How do we persist the chroma db without saving it forever in disk? Is there a way to persist the chromadb in an Azure Storage Blob and just to call it every time we do not have the local persist version? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I want to create an agent that can query documents stored in Azure Blob Storage and help answer questions. The documents are documentation on software products. The agent has to have memory. How can I achieve this?
This is what I have so far:
Beta Was this translation helpful? Give feedback.
All reactions