Comments (12)
Ah really nice:) just that you know, I am currently skiing so I can't implement my ideas rn. But I will be back in 6 days:) I will check the updates you make to the code however.
from emergent.
I read the microsoft research paper on “sparks of AGI” https://arxiv.org/abs/2303.12712. It seems like GPT-4 is a lot lot better at using tools, and reasoning. Gpt-3.5 is hit or miss, sometimes it uses the tool provided in in context examples, sometimes it does not. One thing i found helped a lot is providing an example convo before the system message. Gpt-3.5 tends to ignore the system message a lot.
[
{"role": "user", "content": "I want to book an appointment with Dr Bob"},
{"role": "assistant", "content": "AVAILABLE_TIMES('Dr Bob') -> …"},
{"role": "assistant", "content": "Here are the available times for Dr Bob ..."},
{"role": "system", "content": "You are a booking assistant blah blah ..."} # Example convo before this
]
from emergent.
I also noticed this with other projects. Gpt4 is very responsive and rarely makes mistakes when provided clear instructions. You can even tell it to execute certain functions when it sees the need for it. (By identifying the function name in the output)
from emergent.
Take a look at this: https://openai.com/blog/chatgpt-plugins
from emergent.
That's really nice
from emergent.
This is actually insane. It looks like openai made models finetuned to learn how to use tools using their plugin specification.
For now, plugins are designed for calling backend APIs, but we are exploring plugins that can call client-side APIs as well.
Client-side apis would benefit us, that would provide a simple way for us to make a tool for accessing memories.
from emergent.
Yeah the advancement gpt4 brought do allow for many things that were harder with 3.5. I am really happy to see the announcement about the plugins.
from emergent.
I have access to GPT-4 now and I have already tested out tools
it works well, gpt-4 is smart :)
It should be easy to create a memory tool that takes in a query as an argument
from emergent.
Did you also get access to tools?
from emergent.
no, i just made my own implementation lol.
you define your own tools, and the ChatAgent class will let gpt-4 know about these tools and how to use them.
works reliably with gpt-4. I finished implementing it in another (private) repo, i’ll try finish merging it into this one soon
from emergent.
Alrighty I got it to work!
You: Tell me about the HMCS system we discussed in the past
FUNCTION CALL: search_memory {'query': 'HMCS system'}
Agent: In the past, we discussed the Hierarchical Memory Consolidation System (HMCS), which was developed in 2023. HMCS is designed to enhance the memory capacity of large language models, particularly those that rely on natural language processing. This new memory system can improve the performance of AI models, making them more efficient and effective in processing natural language data. Note that HMCS is not related to Her Majesty's Canadian Ship, which is a prefix used for ships in the Canadian Navy.
from emergent.
Currently, this only works with GPT-4 (since its smart enough to reason when to use a tool and when not to)
from emergent.
Related Issues (10)
- This looks great, also wanted to work on something similar. HOT 2
- Separate KB articles more and exclude hallucinations HOT 23
- Add support for vector databases HOT 1
- Fix problem with duplicate memories
- Introduce an cutoff when searching for relevant memories HOT 8
- tools error HOT 4
- Circular imports error HOT 3
- Response is not JSON serializable HOT 3
- Max token limit breached when ending conversation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emergent.