Skip to content
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

refactor: use second person for identity building #347

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

maciejmajek
Copy link
Member

Purpose

A few months ago, I have been testing different styles of system prompts. The tests included first (I am a...), second (you are ...) and third person view (This is a conversation between an expert embodied AI and user).
Empirical tests showed, that the second person view worked a little bit better than the first person and much better than the third.
Due to amount of changes in the other parts of the repository, change to second person was postponed. Until today.

Proposed Changes

Changed the prompt of identity builder to start the robot_identity.txt with You are instead of I am.

Issues

  • Links to relevant issues

Testing

  • How was it tested, what were the results?

Copy link
Member

@boczekbartek boczekbartek left a comment

Choose a reason for hiding this comment

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

@maciejmajek
Apologies for my late reply.
I tested it on turtlebot and identity was adjusted as expected.
See image (left - old, right - new).
image

I also briefly tested it with turtlebot_demo and embodiment works.

@boczekbartek boczekbartek merged commit 5b2469d into development Dec 18, 2024
5 checks passed
@boczekbartek boczekbartek deleted the chore/second-person-identity branch December 18, 2024 14:11
@maciejmajek
Copy link
Member Author

@boczekbartek actually that diff is kind of strange. I've tested it and the output always started with "you are a" which is vastly different from "you are looking at". I will further adjust it as at the moment this may not propagate embodiment well

@boczekbartek
Copy link
Member

I see. However, when I tested it the answers in streamlit were in the first person.

I will further adjust it as at the moment this may not propagate embodiment well

Sure!

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