omi icon indicating copy to clipboard operation
omi copied to clipboard

ability to create omi persona/clone using omi device

Open kodjima33 opened this issue 1 year ago • 16 comments

omi.me/personas got 300k users organically in a few days

it clearly seems that people want to chat with themselves or with others

We need functionality that whenever people sign up, we automatically create ai persona of the person and they should be able to publish it with few button clicks in apps page

The persona should also auto-populate with new data. So let's say I got a new conversation, and it got updated

  • chat

  • facts

  • conversations While working on this task, you need to improve facts and facts page.

  • [ ] firstly, let's clean up all facts for all users and delete them (many of them were bullshit

  • [ ] secondly, take a look at facts page from Bee.computer (they do it pretty well)

  • [ ] do and propose a design for this

  • [ ] code it


keep in mind, that in the future, these personas should be modified by connecting twitter/linkedin/facebook accounts and etc, like its done on omi.me/personas

kodjima33 avatar Dec 13 '24 11:12 kodjima33

/bounty $10000

kodjima33 avatar Feb 09 '25 01:02 kodjima33

💎 $10,000 bounty • omi

Steps to solve:

  1. Start working: Comment /attempt #1535 with your implementation plan
  2. Submit work: Create a pull request including /claim #1535 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to BasedHardware/omi!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @itsparser Feb 9, 2025, 8:02:54 AM WIP
🟢 @Ritesh2351235 Feb 10, 2025, 9:51:11 AM WIP
🟢 @riturajFi Feb 10, 2025, 9:06:53 PM WIP
🔴 @feliciien Mar 23, 2025, 12:50:10 AM WIP

algora-pbc[bot] avatar Feb 09 '25 01:02 algora-pbc[bot]

/attempt #1535

Options

0xvasanth avatar Feb 09 '25 08:02 0xvasanth

Updated UI for facts @kodjima33

https://github.com/user-attachments/assets/259b211a-841a-4774-8393-08582c084f83

mdmohsin7 avatar Feb 09 '25 08:02 mdmohsin7

/attempt #1535

Options

Ritesh2351235 avatar Feb 10 '25 09:02 Ritesh2351235

/attempt #1535

Options

riturajFi avatar Feb 10 '25 21:02 riturajFi

Hey guys this task is locked on Mohsin because:

  1. he has done hundreds of commits
  2. he was able to provide something legit

kodjima33 avatar Feb 11 '25 23:02 kodjima33

@mdmohsin7 here is how character ai does it

i think we may do a button that says "Create my own" and then will be app/clone

Image

kodjima33 avatar Feb 18 '25 03:02 kodjima33

Progress:

  • [x] Users can create/update their omi personas
  • [x] Users can connect X to their omi persona
  • [x] Users can chat with their persona in app and on the web
  • [x] Facts screens redesigned and implemented (waiting for review)
  • [x] Facts backend improvements

mdmohsin7 avatar Feb 21 '25 05:02 mdmohsin7

@mdmohsin7 you don't need to make a beautiful UI, you need to make a UI so that users could

  • change facts
  • easily remove them
  • make them public/private
  • once they change facts, they are being changed in persona/clone

kodjima33 avatar Feb 24 '25 20:02 kodjima33

@mdmohsin7 man, since you are working on this ticket, please share your demo and seek the feedback here.

my feedback:

1/ do these changes(#1823) fulfill the requirements ?

Mohsin's demo via #1823

https://github.com/user-attachments/assets/4e76f8f5-2a9e-4350-9376-95fa369ffa89

beastoin avatar Mar 09 '25 01:03 beastoin

1/ yes they fulfil the requirements except for the last 2. That is making facts public/private and persona update requires backend changes and I thought of focussing them in a separate PR. The current PR makes it easy to remove/change/add facts

@beastoin

mdmohsin7 avatar Mar 11 '25 18:03 mdmohsin7

1/ so the answer is no, haha. please fulfill them or, if you have any concerns, raise them now. then finish all of them and seek for a review. don't wait for too long, or you PR is basically :dead: .

@mdmohsin7

beastoin avatar Mar 15 '25 01:03 beastoin

  • make them public/private
  • once they change facts, they are being changed in persona/clone

https://github.com/user-attachments/assets/8deae8de-7c6e-45a1-b342-2172325db77f

Image

@beastoin

mdmohsin7 avatar Mar 17 '25 09:03 mdmohsin7

Implementation Plan for Issue #1535

  1. Backend: Persona Auto-Creation & Data Handling Schema Update:

Add Persona model linked to User with fields: is_public, auto_update, social_connections (for future integrations), and facts_version.

Modify Fact model to include source (e.g., "conversation", "twitter") and validation_status (e.g., "pending", "verified").

Sign-Up Hook:

Trigger create_persona() on user registration to initialize a private persona.

Auto-Update Mechanism:

Use background workers (e.g., Celery) to periodically scan new conversations and update facts.

Add NLP validation to filter low-quality facts before saving.

  1. Database Cleanup Script Execution:

Write a migration script to:

Delete facts where validation_status = "invalid".

Reset remaining facts to validation_status = "pending" for re-validation.

Schedule cleanup job pre-deployment.

  1. Facts Page Redesign (Bee.computer Inspired) UI/UX Updates (Flutter):

Layout: Grid/card view with expandable sections, category tags (e.g., "Work", "Interests").

Features:

Search bar and filters (e.g., "Unverified", "Source").

"Verify" button for users to manually confirm facts.

Visual indicators for fact sources (e.g., Twitter icon).

State Management:

Integrate with BLoC/Cubit to handle fact fetching/updating.

  1. Frontend: Persona Publishing App Page Integration:

Add "Publish Persona" toggle button in user settings.

Confirmation dialog explaining public visibility.

Redirect to facts page post-publish for review.

  1. Testing & Deployment Unit Tests:

Persona creation on sign-up.

Fact validation logic.

QA Flow:

Validate auto-update with mock conversations.

Test social media integration stubs (if time permits).

Deployment:

Roll out database cleanup first.

Deploy backend/frontend changes incrementally.

Next Steps Submit PR with:

Backend schema/migrations.

Facts page UI draft.

Persona toggle component.

Iterate based on feedback.

/attempt #1535

Algora profile Completed bounties Tech Active attempts Options
@feliciien 5 bounties from 1 project
MDX, Rust,
JavaScript & more
Cancel attempt

feliciien avatar Mar 23 '25 00:03 feliciien

cancel since @mdmohsin7 already work on it

feliciien avatar Mar 23 '25 01:03 feliciien