Code Monkey home page Code Monkey logo

reflexion-draft's People

Contributors

noahshinn avatar noahshinn024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reflexion-draft's Issues

test environment is very complicated

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:

  1. infos = textworld.EnvInfos(won=True, admissible_commands=True, expert_type=expert_type, expert_plan=expert_plan, extras=["gamefile"])
    returns error: expert type is not there. it seems that the alfworld and text world version are not compatible. then i removed these two parameters to walk around...

my version is as below, not sure is it is correct:
textworld 1.5.3
alfworld 0.2.2

  1. 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...

  2. cannot find : challenge_few_shot_examples.txt
    i replaced it with : reflexion_few_shot_examples.txt

  3. other issues that i do not mentioned by details here...

Few shot or fine tune?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.