-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change agent architecture #4
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
828bd27
to
4e3fb04
Compare
4e3fb04
to
7427042
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uncommit
@@ -13,7 +13,6 @@ | |||
|
|||
# misc | |||
.DS_Store | |||
.env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
"Hi, I am Dexter a passionate frontend developer who has a good eye for design. In my free time I listen to a lot of music and play football. Right now I am working on taking my life to the next level." | ||
); | ||
|
||
// const y = async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete >> comment out
}: AgentInterface) => { | ||
const [chat, setChat] = useState(false); | ||
|
||
const agent = new Agent(id, engine, description); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can probably use this
imageSrc: | ||
"https://i0.wp.com/www.smartprix.com/bytes/wp-content/uploads/2022/11/Naruto.jpg?fit=1280%2C720&ssl=1", | ||
description: | ||
"Naruto Runs Taiki seafood restaurant with his wife Susan. He has a daughter Lucy and a son Mike. Goal of naruto is to create a new speciality dish for restaurant and getting a new chef. Naruto is extemely curious, Adventurous, and optimistic. Naruto some day wants to be part of the bollywood industry.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create believable characters that people already know so that they can test the steerability.
this.engine = engine; | ||
|
||
// Check everytime if the memory with the associated agent id exists in the database or localstorage for now. | ||
this.memoryStream = localStorage.getItem(id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the item key should be more indicative when stored in local storage and not just id. Something like -agent_234524
for DB it makes sense since it will be in a labelled column (agent_id) but this is not true for localdb,
import { getModelInstance } from "../utils/getModelInstance"; | ||
import { getModelResponse } from "../utils/getModelResponse"; | ||
|
||
/** THINK: Should engine be a base class and OPEN_AI and claude extend this class */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do this
No description provided.