Skip to content

Make Memory Actions more permissive #2050

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

Open
kodjima33 opened this issue Mar 19, 2025 · 3 comments
Open

Make Memory Actions more permissive #2050

kodjima33 opened this issue Mar 19, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kodjima33
Copy link
Collaborator

kodjima33 commented Mar 19, 2025

Usecase: Using actions I have submitted a list of learnings from Mrbeast and the book "made to stick (see full facts below)

Memory #1: The user has learned from MrBeast that you should "burn the boats" and commit fully to your goals, do something 100 times if you don't know it, and use random word generators for creative ideas. Creativity can make any idea viral, and cloning yourself for exhausting tasks is beneficial. He believes everything is possible, advises asking experienced people for guidance, and often calls random people during walks to learn from their experiences.
Success

Memory 2: The user has learned from the book "Made to Stick" that using concrete analogies makes ideas memorable, and emotions like disgust or empowerment can enhance this effect. People often guess a "tap" from a song correctly only 2% of the time, showing how uncertainty can paralyze action. The book also highlights that breaking patterns is the most basic way to capture attention, and triggering emotions like surprise or interest is essential, with surprise leading to discovery.

What I received
image
image

Originally posted by @kodjima33 in #1823 (comment)

@kodjima33 kodjima33 added the bug Something isn't working label Mar 19, 2025
@beastoin
Copy link
Collaborator

ahhh, lets me

beastoin added a commit that referenced this issue Mar 22, 2025
@beastoin
Copy link
Collaborator

1/ a better memories(prev. facts) extraction prompts

curl -X 'POST' \
  'https://omi.local/v2/integrations/01JNWY6XBJMMZMJNPC4TAY3E2Q/user/memories?uid=OAEZL1gRvOQmLLg6E3BzjNpEmtf1' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' -H 'Authorization: Bearer sk_f70a4cfbba0acfe2c39eccd36d8f1313'\
  -d '{
  "text": "Memory #1: The user has learned from MrBeast that you should burn the boats and commit fully to your goals, do something 100 times if you dont know it, and use random word generators for creative ideas. Creativity can make any idea viral, and cloning yourself for exhausting tasks is beneficial. He believes everything is possible, advises asking experienced people for guidance, and often calls random people during walks to learn from their experiences.Memory 2: The user has learned from the book Made to Stick that using concrete analogies makes ideas memorable, and emotions like disgust or empowerment can enhance this effect. People often guess a tap from a song correctly only 2% of the time, showing how uncertainty can paralyze action. The book also highlights that breaking patterns is the most basic way to capture attention, and triggering emotions like surprise or interest is essential, with surprise leading to discovery.",
  "text_source": "email",
  "text_source_spec": "newsletter"
}'
Screenshot 2025-03-22 at 18 19 52

2/ add support explicit memories creation https://docs.omi.me/docs/developer/apps/Import#python-example---explicit-memories

curl -X POST "https://api.omi.me/v2/integrations/your_app_id_here/user/memories?uid=user_123" \
  -H "Authorization: Bearer sk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "memories": [
      {
        "content": "User is allergic to peanuts and shellfish",
        "tags": ["health", "allergies", "important"]
      },
      {
        "content": "User'\''s mother'\''s birthday is on August 15th",
        "tags": ["family", "dates", "birthday"]
      },
      {
        "content": "User prefers window seats when flying",
        "tags": ["preferences", "travel"]
      }
    ]
  }'

3/ The apps creation page is now Imports, Memories, Conversation

Screenshot 2025-03-22 at 21 43 39

@beastoin beastoin moved this to In review in omi TODO / bounties Mar 22, 2025
@beastoin beastoin self-assigned this Mar 22, 2025
@beastoin
Copy link
Collaborator

product change logs

  1. all ready on testflight/internal test and the document

@kodjima33 congratulation 🚀

@kodjima33 kodjima33 moved this from In review to Done in omi TODO / bounties Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants