Feb 7Liked by Lenny Rachitsky, Dan Shipper

Wauw that's great!

I am actually working on a product that let's Product Managers use GPT to help them with product discovery!

Really interesting to see this different approach.

Expand full comment

This is awesome!

There are already a few companies popping up that will do this for you.




I am going to be talking about how to train your own chatbot in my weekly newsletter. https://mythicalai.substack.com/

Expand full comment

I got a type error when I tried to construct the index.


__init__() got an unexpected keyword argument 'verbose'

Any thoughts what might have gone wrong? I have little or no coding background.

Expand full comment

Such great stuff! Thank you. The colab notebook is gold.

QQ: any tips on how you were able to get the referenced articles/URLs included in the bot responses for https://www.lennybot.com/? Would love to pattern match off this.

Expand full comment

Hi Dan, I successfully followed all the code and have the chatbot created. How can I make it into a website like the LennyBot is? I guess I am asking how to get the code into a prettier, more user-friendly resource.

Expand full comment

What’s the cost associated with building a chatbot using these tools, if a business wanted to take advantage of this process?

Expand full comment

Okay but can I hire Dan for a chatbot build?

Expand full comment

Hey Dan,

Thanks for sharing really amazing article on GPT3 use.

Can you please update the colab notebook access? Because I am getting error message "Notebook loading error

There was an error loading this notebook. Ensure that the file is accessible and try again.

Invalid Credentials


Expand full comment

Hey Dan,

Really cool guide on building our own chatbot with GPT-3!

Coincidentally, we recently launched an MVP product which allows a similar concept to what you've used but where people can talk with their data.

Here's a short video demo - https://youtu.be/QxgKcvpu5UM

Expand full comment

I tried it and it worked really well for me! Here's what I got.

Hi! How do i come up with good prompts for my online community?

The best way to come up with good prompts for your online community is to talk to your potential members and identify their needs and motivations. Ask them what topics they would be interested in discussing, what challenges they are facing, and what kind of content they would like to see. You can also look at what topics are trending in your industry and use those as prompts. Additionally, you can look at what other successful online communities are doing and use their prompts as inspiration.

For more information see: A founder’s guide to community

Could you give me some specific examples of good prompts for my online community?

Sure! Here are some examples of good prompts for an online community: - What tips do you have for staying productive while working from home? - What are your favorite online tools for collaboration? - What strategies have you used to stay connected with your team while working remotely? - What advice do you have for managing stress during this time? - What have been the biggest challenges you've faced while working from home? - What tips do you have for staying motivated while working remotely? - What strategies have you used to stay organized while working from home? - What advice do you have for staying focused while working remotely? - What have been the biggest successes you've had while working from home?

For more information see: 🤩 Community wisdom – Issue 2

Expand full comment

Looks good. I'm looking to do something similar for my company's website. I see that you're using davinci-003. According to the OpenAi website, the only more advanced model for embedding is text-embedding-ada-002. How did you make this work?

Expand full comment

@Dan thanks for this! I was able to replicate building this for a different corpus of data. However, I'm trying to figure out how to get the responses to include the URL of the relevant post for more information. Could you help clarify how you did that?

Expand full comment

Thank you, this is master piece. I managed to use the collab successfully in a python environnement. I would really appreciate if you could help me with this extra question : how to make the bot answer with a link/url ? I tried to add URL's in the dataset, but it keeps on answering things from the openAI original dataset.

Thank you in advance,


Expand full comment

great article, is it possible to use the trained model (on the data you provided) without openAI as it will cost money for every question asked I'd assume?

Expand full comment

What an awesome article, thanks!

A shame you can't build the index offline, rather than using OpenAI tokens. Is there a reason for this?

Expand full comment