You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently attempting to replicate and understand the long document QA experiments mentioned in your paper using the source code provided in this repository. However, I have encountered a stumbling block that I hope to get some clarification on.
While going through the source code, especially in the doc_qa_task where it involves using the MemGPT class, I noticed the import statement:
frommemgptimportMemGPT, utils
and the instantiation in the code:
memgpt_client=MemGPT()
However, after a thorough search through the repository, I am unable to find the definition or implementation of the MemGPT class. This absence has made it challenging to understand how to proceed with setting up and running the experiments as intended.
Could you please provide guidance on where I might find the MemGPT class, or if there are any additional steps or documentation I should refer to? It's possible that I might have overlooked something or there are updates that are not yet pushed to the repository.
Thank you for your assistance and for sharing your work, which has been incredibly insightful.
The text was updated successfully, but these errors were encountered:
I believe the main export is changed, now the export is exposing the function "create_client" instead of the MemGPT class. So you can create a client like:
from memgpt import create_client
chat_client = create_client()
agent_info = chat_client.create_agent(
name="Test Agent",
persona="You are an agent, your alias is Johnny \
"
)
msg="what's your name"
response = chat_client.user_message(agent_id=agent_id, message=msg)
Hello,
I am currently attempting to replicate and understand the long document QA experiments mentioned in your paper using the source code provided in this repository. However, I have encountered a stumbling block that I hope to get some clarification on.
While going through the source code, especially in the
doc_qa_task
where it involves using theMemGPT
class, I noticed the import statement:and the instantiation in the code:
However, after a thorough search through the repository, I am unable to find the definition or implementation of the
MemGPT
class. This absence has made it challenging to understand how to proceed with setting up and running the experiments as intended.Could you please provide guidance on where I might find the
MemGPT
class, or if there are any additional steps or documentation I should refer to? It's possible that I might have overlooked something or there are updates that are not yet pushed to the repository.Thank you for your assistance and for sharing your work, which has been incredibly insightful.
The text was updated successfully, but these errors were encountered: