Skip to content

Conversation

@palozano
Copy link
Contributor

@palozano palozano commented Jan 15, 2025

Description

Create a judge that will select the winner of the debate.

@vercel
Copy link

vercel bot commented Jan 15, 2025

@palozano is attempting to deploy a commit to the nuffle labs Team on Vercel.

A member of the Team first needs to authorize it.

@palozano palozano changed the title feat: judge WIP feat: judge Jan 15, 2025
// Send to current gladiator's agent server
const response = await this.agentClient.sendMessage(
// FIXME: do we need to hardcode this? or is this `agentMap[currenGladiator.name]`?
"ebeabd78-5beb-01b2-a37b-38a7b31a8858",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no this is just for the specific room for my agent running locally, we probably should create a system for deriving the room id

*
* When joining a room, it will get all the messages there and select a winner based on that.
*/
export class Judge {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mate I think you are trying put elizacore into the coordinator, not sure if this is the right way to do this. coordinator is really just a dumb chatroom backend. Judge is an agent on its own that joins the chatroom and has its own memory, RAG etc.

Lets sync over this soon.

@palozano palozano force-pushed the feature/nuf-309-marcus-aiurelius branch from d859767 to 4772647 Compare January 20, 2025 11:24
@palozano palozano changed the title WIP feat: judge feat: judge Jan 20, 2025
@palozano palozano marked this pull request as ready for review January 20, 2025 12:59
@palozano palozano requested a review from serrrfirat January 20, 2025 12:59
Implemented:
- Create judge and feed memories to an agent
- Utilities for calling the judge to a room
@palozano palozano force-pushed the feature/nuf-309-marcus-aiurelius branch from 45fb3ba to 5057506 Compare January 28, 2025 10:01
TODO:

- just some minor tweaks to fix,
- remove logging,
- clean things
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants