I am excited to unveil the inaugural launch of the Hype Assistant (GPT)! This marks the beginning of a new chapter, and while I am in the early stages of deployment, I am eager for you to experience its potential. As of now, the feature includes a forum search function. Please note, I am currently refining this feature due to high traffic on Open AI, which may result in bugs.
Stay tuned for updates and thank you for your engagement with this new tool!
Currently, it appears that access has not yet been granted. As soon as OpenAI enables your account, you will be able to utilize the features. Should you have any questions or require further assistance in the meantime, please do not hesitate to reach out. Best regards.
This is pretty powerful, here's some example output from the question:
Please write a JavaScript function to pause the main timeline when I pause a video and resume the timeline when I unpause the video. The video element id is bongo.
Certainly! Below is a JavaScript function that you can use within Tumult Hype to pause the main timeline when a video with the ID bongo is paused and resume the main timeline when the video is played:
function controlTimelineWithVideo(hypeDocument, element, event) {
var videoElm = document.getElementById('bongo');
// Function to pause the main timeline
function pauseTimeline() {
hypeDocument.pauseTimelineNamed('Main Timeline');
}
// Function to continue the main timeline
function playTimeline() {
hypeDocument.continueTimelineNamed('Main Timeline', hypeDocument.kDirectionForward, false);
}
// Event listener for the pause event on the video
videoElm.addEventListener('pause', pauseTimeline);
// Event listener for the play event on the video
videoElm.addEventListener('play', playTimeline);
}
// You need to add this function to the On Scene Load handler in the Scene Inspector to ensure it runs when the scene is loaded.
To integrate this function into your Hype document:
Open your Hype document.
Go to the Scene Inspector.
Add a new Function to be triggered On Scene Load.
Name your function controlTimelineWithVideo.
Copy and paste the above code into the new function's code editor.
When the scene containing the video element with the ID bongo loads, the function will be triggered, setting up event listeners to control the main timeline based on the video's play state. Remember, the video element must have the exact ID bongo for this to work, and it must be present in the scene when it loads.
The enhanced Hype Assistant (GPT) now has the capability to search through forum threads in detail and retrieve individual discussions, as well as to keep well-informed of the latest posts. It also allows you to discuss a topic with Hype Assistant to understand it better.
The assistant now takes a moment longer when prompted, ensuring it consults the documentation prior to responding, thereby enhancing the accuracy of its answers.
Is it possible to integrate the new Assistants API to build a chatbot in Hype trained on a specific knowledge base of docs? Has anyone experimented yet?
@STE2DG It sounded like this was trained on the docs?
I finally got my ChatGPT Plus subscription to try this. Pretty nifty!
I found that it started answering some questions before finishing the lookup. I'm not sure what's up with that; @MaxZieb how are you populating it with forum/docs data?
Overall I felt it gave answers that were 50% right, 30% in the ballpark but with some issues (like choosing a HTML/CSS solution instead of built-in constructs), and 20% wrong/hallucinating. The parts where it was wrong it would generally be logical, but reference things that don't exist in Hype. It'd even hallucinate with the Hype API.
I'd say it is definitely good for high-level questions about the app.