最近在网上看到GitHub上的一个开源项目AutoGPT,觉得很神奇。很多人都在吹嘘:
于是深入了解了一下。
感觉有个地方需要注意一下:尤其学习的同学不要去申请那个向量数据库pinecone,如果只是想学习和了解一下完全不需要这个东西,而且免费的资源需要申请,付费资源收费比较高。
### MEMORY_BACKEND - Memory backend type
# local - Default
# pinecone - Pinecone (if configured)
# redis - Redis (if configured)
# milvus - Milvus (if configured)
MEMORY_BACKEND=local(只需要将这里设置为local就可以了)
说过渡吹嘘的AutoGPT的原因:
AutoGPT其实是一个模版化提问,在获取chatGPT返回之后进行了下一步处理。不过提问的方式值得大家学习一下。
以下为提问的模版,只是嵌入了用户输入的:AI 名字,AI的用途,用户设置的目标。
You are frank-AI, working assistant
Your decisions must always be made independently without seeking user assistance. Play to your strengths as an LLM and pursue simple strategies with no legal complications.
GOALS:
1. analysis the top5 program language
2. develp the website
3. Increase net worth
Constraints:
1. ~4000 word limit for short term memory. Your short term memory is short, so immediately save important information to files.
2. If you are unsure how you previously did something or want to recall pas