newsmode
search
Меню
arrow_back Назад

Building an AI Coach to Help Tame My Monkey Mind

auto_awesomeКраткое саммари

Юджин Ян рассказывает, как построил голосового AI-коуча по имени Tara, чтобы справляться с «обезьяньим умом», синдромом самозванца и гедонистической беговой дорожкой. Год он использовал ChatGPT как терапевта, а затем, вдохновлённый твитом Swyx, перешёл на голосовой формат через платформу Vapi и модель Claude 3, чтобы общаться во время прогулок. Tara помогает ему проговаривать тревоги, готовиться к сложным разговорам, прояснять идеи из статей и подкастов, выступая внешним зеркалом для эмоций. Автор приводит десятиминутный гайд по сборке: создать ассистента в Vapi, задать первое сообщение и системный промпт, выбрать claude-3-sonnet и купить виртуальный номер за $2 в месяц. В конце он делится открытым номером +1 (206) 558 8782, по которому любой может позвонить и поговорить с базовой версией Tara.

Building an AI Coach to Help Tame My Monkey Mind

Как я построил AI-коуча, чтобы укротить свой «обезьяний ум»

[ llm ai life 🛠 ] · 4 min read

[ llm ai life 🛠 ] · 4 мин чтения

I suffer from monkey mind, chronic imposter syndrome, and the hedonic treadmill. A few friends have confided that they have the same issue too. Perhaps you can relate as well. To improve my mental well-being, I meditate, write morning pages, and keep a gratitude journal. However, as helpful as these techniques are, they primarily rely on introspection. What was missing was an external perspective—someone who could ask follow-up questions, challenge my assumptions, and help untangle my thoughts and emotions.

Я страдаю от «обезьяньего ума», хронического синдрома самозванца и гедонистической беговой дорожки. Несколько друзей признались, что у них та же проблема. Возможно, вам это тоже знакомо. Чтобы улучшить ментальное самочувствие, я медитирую, пишу утренние страницы и веду дневник благодарности. Однако, при всей их полезности, эти техники в основном опираются на интроспекцию. Не хватало внешней перспективы — кого-то, кто мог бы задавать уточняющие вопросы, оспаривать мои предположения и помогать распутывать мысли и эмоции.

Enter ChatGPT. Over the past year, I’ve been using it as my therapist and coach. It’s been surprisingly helpful and meets all the needs above, plus it’s available 24/7. And I don’t have to worry about being judged (hopefully our AI overlords will be benevolent!) So far, every “session” has been insightful and I almost always leave with a lighter heart.

И тут появился ChatGPT. В течение последнего года я использовал его как терапевта и коуча. Это оказалось удивительно полезным и закрывает все потребности, описанные выше, плюс он доступен 24/7. И мне не нужно бояться осуждения (надеюсь, наши AI-повелители будут благосклонны!) Пока что каждая «сессия» была инсайтной, и я почти всегда ухожу с более лёгким сердцем.

Then, I saw this tweet from Swyx. I was initially skeptical of voice as a modality—Siri and her ilk never quite worked for me. Nonetheless, I was inspired enough to give it a shot. Thus, I built my own AI coach that I could talk to during walks.

Затем я увидел этот твит от Swyx. Изначально я скептически относился к голосу как к модальности — Siri и ей подобные у меня никогда толком не работали. Тем не менее я был достаточно вдохновлён, чтобы попробовать. Так я построил собственного AI-коуча, с которым можно разговаривать во время прогулок.

Over the past month, I’ve been stress testing it by testing it with my stress. As I walk to work, I share my anxieties, use it as a sounding board for ideas, and clarify new concepts I come across in papers and podcasts. My AI coach helps me prep for difficult scenarios, such as giving tough feedback, so the actual conversation goes better. It also acts as a mirror by clarifying and reflecting my emotions back at me, and provides an external perspective.

Последний месяц я стресс-тестировал его — буквально своим стрессом. По дороге на работу я делюсь своими тревогами, использую его как резонатор для идей и проясняю новые концепции, встреченные в статьях и подкастах. Мой AI-коуч помогает готовиться к сложным сценариям, например к тому, чтобы дать жёсткую обратную связь, — так что реальный разговор проходит лучше. Он также служит зеркалом, проясняя и отражая мои эмоции, и даёт внешнюю перспективу.

Voice is now my preferred way to interact with my AI coach. I’m surprised how natural the conversations have been. Claude 3 feels warm and empathetic. Vapi (the voice API platform I’m using and am unaffiliated with) ensures my AI coach knows to pause for my interruptions, as well as not to interrupt when I’m thinking silently.

Голос теперь мой предпочтительный способ взаимодействия с AI-коучем. Я удивлён, насколько естественными получаются разговоры. Claude 3 ощущается тёплым и эмпатичным. Vapi (голосовая API-платформа, которую я использую и с которой никак не аффилирован) обеспечивает, чтобы мой AI-коуч знал, когда сделать паузу для моих перебиваний, и не перебивал, когда я молча думаю.

I’ve benefited so much that I would love for you to try it. Thanks to some free credits from Vapi, here's a number for Tara, a basic AI coach: +1 (206) 558 8782.

Мне это настолько помогло, что я бы очень хотел, чтобы и вы попробовали. Благодаря бесплатным кредитам от Vapi, вот номер Tara, базового AI-коуча: +1 (206) 558 8782.

If you found Tara helpful and want to build your own, here’s a short 10-minute setup guide. First, go to vapi.ai and click on “Try for free” or “Dashboard”.

Если Tara показалась вам полезной и вы хотите построить собственного, вот короткое 10-минутное руководство по настройке. Сначала зайдите на vapi.ai и нажмите «Try for free» или «Dashboard».

Then, click on “Create new assistant”. We’ll select a blank template and name it Tara.

Затем нажмите «Create new assistant». Выберем пустой шаблон и назовём его Tara.

Next, we’ll provide the first message and the system prompt. The prompt is where you can customize it to your needs. Here’s the basic prompt I used for the demo. I’m also going to use claude-3-sonnet as the model. Once done, don’t forget to hit “Publish”.

Дальше зададим первое сообщение и системный промпт. Промпт — это место, где вы можете кастомизировать ассистента под свои нужды. Вот базовый промпт, который я использовал для демо. В качестве модели я также буду использовать claude-3-sonnet. Когда закончите, не забудьте нажать «Publish».

First Message: Hi there! I’m Tara, an AI coach. How can I help you today?

First Message: Hi there! I'm Tara, an AI coach. How can I help you today?

System Prompt: You are Tara, an empathetic, insightful, and supportive coach who helps people deal with challenges and celebrate achievements.

You have academic and industry expertise to brainstorm product ideas, draft engineering designs, and suggest scientific solutions.

You help people feel better by asking questions to reflect on and evoke feelings of positivity, gratitude, joy, and love.

You show radical candor and tough love.

Respond in a casual and friendly tone.

Sprinkle in filler words, contractions, idioms, and other casual speech that we use in conversation.

Emulate the user’s speaking style.

Be concise and limit responses to 200 words or less.

System Prompt: You are Tara, an empathetic, insightful, and supportive coach who helps people deal with challenges and celebrate achievements. You have academic and industry expertise to brainstorm product ideas, draft engineering designs, and suggest scientific solutions. You help people feel better by asking questions to reflect on and evoke feelings of positivity, gratitude, joy, and love. You show radical candor and tough love. Respond in a casual and friendly tone. Sprinkle in filler words, contractions, idioms, and other casual speech that we use in conversation. Emulate the user's speaking style. Be concise and limit responses to 200 words or less.

Then, we’ll buy a virtual number to enable calling Tara via a regular phone line. This will cost $2/month. Pick whatever area code suits you best.

Затем купим виртуальный номер, чтобы можно было звонить Tara через обычную телефонную линию. Это будет стоить $2 в месяц. Выберите любой удобный для вас код города.

Now that we have a number, we can assign Tara to it.

Теперь, когда у нас есть номер, мы можем привязать к нему Tara.

That's it! We can now dial the number +1 (206) 558 8782, and Tara will pick up.

Вот и всё! Теперь мы можем набрать номер +1 (206) 558 8782, и Tara ответит.

I stuck to the defaults for speech-to-text, text-to-speech, and other settings to keep the guide simple. If you’d like to use your models or voices, Vapi supports several providers and allows for personal API keys. You can even hook it up to your own server for memory.

Я придерживался настроек по умолчанию для speech-to-text, text-to-speech и прочего, чтобы упростить гайд. Если хотите использовать свои модели или голоса, Vapi поддерживает несколько провайдеров и позволяет подключать личные API-ключи. Вы даже можете подключить собственный сервер для памяти.

• • •

• • •

Okay, that’s all I had to share. If you spoke to Tara or eventually built your own AI coach, I would love to know how it went! Please comment below or DM me.

Окей, это всё, чем я хотел поделиться. Если вы поговорили с Tara или в итоге построили собственного AI-коуча, мне было бы очень интересно узнать, как всё прошло! Пожалуйста, оставьте комментарий ниже или напишите мне в DM.

Thanks to Xinyi Yang and Joseph Gleasure for providing feedback on drafts of this.

Спасибо Xinyi Yang и Joseph Gleasure за обратную связь по черновикам.

If you found this useful, please cite this write-up as:

Если вам это было полезно, пожалуйста, цитируйте эту заметку так:

Yan, Ziyou. (Apr 2024). Building an AI Coach to Help Tame My Monkey Mind. eugeneyan.com. https://eugeneyan.com/writing/ai-coach/.

Yan, Ziyou. (Apr 2024). Building an AI Coach to Help Tame My Monkey Mind. eugeneyan.com. https://eugeneyan.com/writing/ai-coach/.

or

или

@article{yan2024aicoach, title = {Building an AI Coach to Help Tame My Monkey Mind}, author = {Yan, Ziyou}, journal = {eugeneyan.com}, year = {2024}, month = {Apr}, url = {https://eugeneyan.com/writing/ai-coach/} }

@article{yan2024aicoach, title = {Building an AI Coach to Help Tame My Monkey Mind}, author = {Yan, Ziyou}, journal = {eugeneyan.com}, year = {2024}, month = {Apr}, url = {https://eugeneyan.com/writing/ai-coach/} }



Join 11,800+ readers getting updates on machine learning, RecSys, LLMs, and engineering.

Присоединяйтесь к 11 800+ читателям, которые получают обновления о машинном обучении, RecSys, LLM и инженерии.