Giter Club home page Giter Club logo

autogen_enhancedagents's Issues

Short Term Memory not getting stored

I want to store the messages at each conversation between userproxy and agent but thats not happening here, idk why, NEED HELP PLEASE!!!!!

    # Max convo length before the end starts falling off, in number of messages. User and AI both count, so minimum is 2.
    DEFAULT_MAX_CONVO_LENGTH = 2
user_proxy = autogen.UserProxyAgent(
    name="user_proxy",
    is_termination_msg=lambda x: x.get("content", "") and x.get("content", "").rstrip().endswith("TERMINATE"),
    human_input_mode="NEVER",
    system_message="A human admin. Execute the google and hubspot apis provided to you. Reply with Terminate where finished or chatbot asks for any required parameters",
    max_consecutive_auto_reply=10,
    function_map=mem_agent.get_function_map(),
    code_execution_config={
        "work_dir": "coding",
        "use_docker": False,
    },
    # Please set use_docker=True if docker is available to run the generated code. Using docker is safer than running the generated code directly.
)

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.