JohnSmith
TTypebot
•Created by JohnSmith on 3/27/2024 in #help-and-questions
I broke it...I don't know what - Too many emails sent
Turning it off for 5 minutes before restarting seemed to sort it out 🙂
3 replies
TTypebot
•Created by Nidzam on 3/14/2024 in #help-and-questions
Get IP Address
It should work, I added this functionality using a HTTP GET request yesterday
22 replies
TTypebot
•Created by JohnSmith on 3/14/2024 in #help-and-questions
Google Sheets Disconnected
@William Lewis Self hosting
5 replies
TTypebot
•Created by LucasReino on 3/13/2024 in #help-and-questions
Google Sheet not picking sheets
I just had an error where it disconnected my sheets I was using, I deleted the user and reconnected it and it seems to work now.
4 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Yeah that approach makes more sense, will use it in the future 🙂
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Booom thank you so much 🙂 Simple over looked quote 🙂
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Tried it with the header Accept as application/json and text/csv
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Just for the API Key, don't want to post it publically
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Hmm I can DM you it?
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Hmmm I've added that to my script but no luck unfortunately
try {
const response = await fetch(baseUrl, requestOptions);
if (!response.ok) {
throw new Error('Network response was not ok');
}
const data = await response.json();
console.log(data); // Log the response data
return JSON.stringify(data);
} catch (error) { // Moved catch block to the correct position
console.error("Error fetching data:", error);
throw error; // Re-throw the error for handling outside the function
}
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
and strange responses such as -
Sorry, I am not able to access external APIs in this environment. However, I can continue the conversation without knowing the specific address. Is there anything else I can assist you with?
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Hmmm so I'm not getting an error anymore but the response isn't from using the function, chatgpt responds by telling me it will use the function getAddress to check for addresses rather than running the function - I've tested the process of calling the API using the webhook block which works in getting the data but would like to use the function calling to understand it for the future
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
that returned the error of {
"status": 500,
"body": {
"message": "400 1 validation error for Request\nbody -> tool_outputs -> 0 -> output\n field required (type=value_error.missing)",
"code": "INTERNAL_SERVER_ERROR"
}
}
30 replies
TTypebot
•Created by JohnSmith on 1/29/2024 in #help-and-questions
ChatGPT Function Calling
Would it better to use the option for csv/text? or convert it to a string with json:
const data = await response.json();
const dataString = JSON.stringify(data); // Convert JSON data to a string
return dataString
30 replies
TTypebot
•Created by JohnSmith on 1/10/2024 in #help-and-questions
Builder is looking for database on localhost
Tired eyes + code isn't the best, was just overlooking the url for the database all solved thank you!
12 replies
TTypebot
•Created by JohnSmith on 1/10/2024 in #help-and-questions
Builder is looking for database on localhost
The only part I've not done is the S3 set up, assuming that is for storing uploads
12 replies
TTypebot
•Created by JohnSmith on 1/10/2024 in #help-and-questions
Builder is looking for database on localhost
I'm deploying it with docker on digital ocean
12 replies
TTypebot
•Created by JohnSmith on 1/10/2024 in #help-and-questions
Builder is looking for database on localhost
Hmmm still struggling how should I format the new DATABASE_URL: DATABASE_URL=postgresql://postgres:[email protected]:5432/typebot or should I be using the IP address of my server?
12 replies
TTypebot
•Created by JohnSmith on 1/10/2024 in #help-and-questions
Builder is looking for database on localhost
Wow so simple when you know how 🙂 Missed that setting haha
12 replies