GithubHelp home page GithubHelp logo

emergent's People

Contributors

hunter-meloche avatar kyb3r avatar syntex01 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

Watchers

 avatar  avatar  avatar  avatar  avatar

emergent's Issues

Add support for vector databases

Right now we are just saving data in a json file as a stopgap solution while we are developing the system. But support for vector DBs is vital for scalability.

tools error

Having issues creating new tools and implementing
I want a web scraper that can save output to a json
when I try and run and call the function i defined it kees saying that as a ai they cant execute etc etc

not sure if its the safeguards or prompting help

basically if we can get this to work we haev plugins??

Create an internal reasoning / search_memory tool

I think that the agent should speak to itself and reason what topics would be helpful for him to know right now. We can then provide the closest match for each topic. In this internal chat the bot could later on also access various functions like searching the web.

Introduce an cutoff when searching for relevant memories

The function that searches a kB article that is similar to the prompt, could also include an variable that defines a minimum distance in the embedded space so that any article is returned. Sometimes and even very often, the closest article might have absolutely no relationship with the topic. This will greatly reduce token use. Not only when providing kb articles but also when we want to identify how many articles to update. This could be done dynamically instead of trying to update the closest three.

Circular imports error

Hi, I just installed this with pip, but I'm getting this error when I try to use it.

AttributeError: partially initialized module 'emergent' has no attribute 'ChatAgent' (most likely due to a circular import)

I'd really appreciate it if someone could help me out. I'm using Python 3.11 for reference.

Response is not JSON serializable

When using "response = agent.send(message)", I'm getting "Object of type generator is not JSON serializable".

I noticed that handle_message in ToolManager has been updated quite a bit and I'm trying to understand how it returns a response to the agent (e.g.: for use in tests/main.py).

Max token limit breached when ending conversation

I had a lengthy discussion with GPT using Emergent (great job btw) and fed it small segments of a story I'm writing, but when saving its memories to json, I got the error response from the OpenAI API that I broke the token limit. The discussion itself was fine; it wasn't until agent.end_conversation(memory_path) was called that I had issues with the token limit.

openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 4940 tokens. Please reduce the length of the messages.

Adding some sort of token limit handler would be great. Please let me know if I'm doing something wrong, lol.

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.