Give us feedback
ots-trip-planner-2
Reactive icon

Trip Planner

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 24 October 2023 by 
OutSystems Solution Engineering team
0.0
 (0 ratings)
ots-trip-planner-2

Trip Planner

Details
This Asset demonstrates a simple integration with ChatGPT in order to obtain help planning your trips.
Read more

This Asset demonstrates a simple integration with ChatGPT in order to obtain help planning your trips.


Find here below the documentation that will help you with setting it up. 

This component has no dependencies other than the need of a token with Open AI. 


Generating your OpenAI API Token

We will share here some links that will help you generate your API. 


Chat GPT APIs documentation: https://platform.openai.com/docs/guides/gpt/chat-completions-api


Quick Start: 

https://platform.openai.com/docs/quickstart?context=python


Create an Account: 

https://auth0.openai.com/u/signup


API Key Page (to generate the key): 

https://platform.openai.com/account/api-keys


By following these steps you’ll be given a token which you’ll need to inform on your TripPlanner app. 


Adding the generated token to TripPlanner app into your infrastructure

Go to Service Center (https://your_personal.outsystemscloud.com/ServiceCenter/) >> Factory >> Modules >> Search for Trip_planner >> go to Site Properties tab. 


After informing your token, you must have something like this: 



You’re good to go!! 


Using TripPlanner App

Using the app is very intuitive. You can setup multiple Trips. The app will formulate the prompt that will be sent to ChatGPT basically based on the trip start and end date as well as the destination. 


Note: Please, notice that the integration to ChatGPT takes around 20 seconds to complete. To avoid timeouts we have set the module property “Server Request Timeout” to 30 seconds. 

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team