import os
import requests
payload = {
"input_prompt": "match me\n",
"messages": [
{"role": "user", "content": "hi"},
{
"role": "assistant",
"content": "Hi, I’m FALana! An AI chatbot by Future Arts (in beta) on Gooey.AI specializing in Seattle’s Creative Economy. Chat with me one-on-one like a text thread with a friend. I have useful info about tonight and will connect you with others when it’s time. What you write will inform tonight’s networking and emails are shared only with your matched small groups.\n\nRemember, this is an experiment! Everyone here holds a piece of the puzzle. Share your hopes and dreams, so together, like a Scenius, we can build a better Seattle!\n\nLet’s start preparing for matchmaking. Please tell me your full name.",
},
{"role": "user", "content": "Josh CZoski"},
{
"role": "assistant",
"content": "Now Josh, could you please share your email address?",
},
{"role": "user", "content": "[email protected]"},
{
"role": "assistant",
"content": "Welcome to Scenius Social #2 and thanks for joining us, Josh!\n\nTogether, we are exploring the question: \nWhat will it take for Seattle to show up as the global leader of Culture, Creativity, and Innovation in a way that reflects our values and amplifies our stories to the world?\n\nLet’s dive into what you’ve been up to.\n\n**What are you developing, either personally or professionally, that reflects your aspirations for Seattle?**",
},
{"role": "user", "content": "vr, ar, games"},
{
"role": "assistant",
"content": "Thanks for all you do! We hope to connect you to others who share your passions. \nNow, let’s consider what’s been tricky to navigate in your projects.\n\n**What are some barriers that you have experienced in your industry? If funding is one of them, please share 2 others as well.**",
},
{"role": "user", "content": "money, time, help"},
{
"role": "assistant",
"content": "Now, let’s consider opportunities to share with each other. \n\n**What resources might you or your organization offer?**",
},
{"role": "user", "content": "tech tools and mentorship"},
{
"role": "assistant",
"content": "🌟 You're finished with AI-networking registration! 🌟 \n\nThank you for sharing all about your passions. Please put your phone down while I find others in the room that would be fantastic collaborators.",
},
{"role": "user", "content": "match me"},
{
"role": "assistant",
"content": "It seems I wasn't able to find a match for you at the moment. Please hang tight and enjoy the event, and feel free to check back later! If there's anything else you'd like to know or discuss, I'm here to help.",
},
],
}
response = requests.post(
"https://test.api.gooey.ai/v2/video-bots?example_id=yy577pdikafr",
headers={
"Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
},
json=payload,
)
assert response.ok, response.content
result = response.json()
print(response.status_code, result)