Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
Other
167.92k stars 44.33k forks source link

core.Agent.from_workspace() #5080

Closed ph-ausseil closed 1 year ago

ph-ausseil commented 1 year ago

Duplicates

Summary 💡

Hi,

As of now core.Agent is loaded using method from_workspace() which is very restrictive. First of all because there is hope to support various BDD (Redis, ...) & because workspace is semantically meant to store Agents artefacts & productions.

An agent should be loaded from a database would it be json_file or not ; an agent should not be loaded from a workspace.

I'm reporting this as an issue for due tracking and quote my Discord report over the issue :

What was to be read between the line is that may be memory-related classes should be passed additional elements that are not passed today ton the only implementation we have. These element may include

  • a table name/ filename ,
  • a key,
  • a json/object
  • or a kwarg if location/port/credentials are needed.

Memory adapters should push informations to the relevant location & table .

[...]

As for json_file location, I suggest ~/autogpt/data/ would be much better and then we would have 3 files message_history, agents & users. State of the art would be to make the location fully configurable so if needed a user could host AutoGPT in the cloud but his data on premise

Examples 🌈

No response

Motivation 🔦

github-actions[bot] commented 1 year ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 1 year ago

This issue was closed automatically because it has been stale for 10 days with no activity.