I love Motorcycle (racing). I also love exploring on a motorbike. What I always had trouble with, was finding the most interesting routes in a new place.
So, I made routeGPT. It transforms a prompt into a route you can download as a .gpx file, and follow it on your phone.
Here, try it out:
What I find fascinating is that with these new AI tools, integrating them into your application has never been easier. It’s literally 9 lines of code:
response = openai.ChatCompletion.create(
model='gpt-3.5-turbo',
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": prompt},
])
#filter message out of whole response
message = response.choices[0]['message']
answer = "{}: {}".format(message['role'], message['content'])