apocas / restai

RestAI is an AIaaS (AI as a Service) open-source platform. Built on top of LlamaIndex, Ollama and HF Pipelines. Supports any public LLM supported by LlamaIndex and any local LLM suported by Ollama. Precise embeddings usage and tuning.

Home Page:https://apocas.github.io/restai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inquiry About Chat Loading Mechanism in ReAct Agent Code

mhsabu opened this issue · comments

Hi,

I was going through your recent ReAct agent code. On my computer, this code cannot load chat history:

chat = self.brain.memories.loadMemory(project.model.name).loadChat(chatModel)

Could you please explain how this chat loading works in your code? Additionally, are you able to give the agent chat history when the agent is answering the next question?

Thank you!