disler / poc-realtime-ai-assistant

Sharing early versions of Ada, a personal AI Assistant built on OpenAIs Realtime API
476 stars 149 forks source link

Reading files into chat #4

Open timothyjoh opened 2 weeks ago

timothyjoh commented 2 weeks ago

This PR piggy-backs on #3

Now I can read files back into the chat, and ask questions about it.

Start by generating a CSV file with random data in it:

"Hey Ada, make a file called birthdays.csv and fill it with fake data including names, email addresses, birthdays and states"

Then ask Ada to read the file and ask questions about it

"Read the file birthdays.csv and tell me the first person on the list, and when their birthday is"

Then go ahead and ask more questions:

"Tell me the state where Jackson Hinkle lives" "Tell me the birthday of Francis Desmond"

ianjamesburke commented 2 weeks ago

looks like you might need to update the .env.sample file with the added vars? is that right? i'm new to this

timothyjoh commented 2 weeks ago

Great point there @ianjamesburke Thanks