noahshinn / reflexion-draft Goto Github PK
View Code? Open in Web Editor NEWReflexion: an autonomous agent with dynamic memory and self-reflection
License: MIT License
Reflexion: an autonomous agent with dynamic memory and self-reflection
License: MIT License
thanks a lot for your great work. i am interested in this test very much.
i have issues that need your help:
i have tried this test but failed again and again.
there are so many environment issues, such as : python version, textworld version, alfworld version, etc...
is it possible that you provide a step by step guide that let me make it work.
several issues that i met:
my version is as below, not sure is it is correct:
textworld 1.5.3
alfworld 0.2.2
cann't find "domain: '$ALFWORLD_DATA/logic/alfred.pddl'"
on my pc, the file is at: "/Users/xyz/Library/Python/3.7/lib/python/site-packages/alfworld/data/alfred.pddl"
i hardcoded the file to walk around the issue. but it seems that the installation of alfred is not correct on my side...
cannot find : challenge_few_shot_examples.txt
i replaced it with : reflexion_few_shot_examples.txt
other issues that i do not mentioned by details here...
You said
To replicate results from the ReAct study (Yao et al., 2023), we prompted the agent with six few-shot examples of successful trajectories.
Does this mean you are doing prompt engineering, using example shown in 4.3 Reflexion Enables More Intuitive Search Queries
?
Put these prompt before user input, and just get result?
But I think this is not the case, because AFAIK, to get this kind of result, you have to use prompt like https://github.com/hwchase17/langchain/blob/b7ebb8fe3009dd791b562968524718e20bfb4df8/langchain/agents/conversational/prompt.py#L14-L27 it usually need to include you Must use this format
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.