Artificial Intelligence
Speech to Text
Whisper from OpenAI is a powerful tool for converting audio files to text. It supports multiple languages and can handle various audio formats. Whisper recognizes 98 different languages, including Norwegian and English. You can either transcribe text in the same language or translate it into English.
Speech to text can be used to transcribe most types of audio and video files. The service can also be used to streamline the subtitling of video.
The quality of the automatic transcription with Whisper will vary, and the text should be reviewed and corrected manually. Both the sound quality of the recording itself and the language or dialect to be transcribed will affect the accuracy of the transcript.
Refer to Transcribe Norwegian Audio for a tutorial.
Image to Text
OCR (Optical Character Recognition)
Just run it using your API credentials. Here is a simple example. Just put in your real API Key, actual image url, and what you want in System and User. Just like the chat models, lots of influence with System and User.
source: https://community.openai.com/t/image-to-text-description-in-the-api/477152/7
Useful Prompts
Phrase them in a story-like format (e.g., “ABC Corp. has just closed its books…”), so they feel more realistic? \
I am writing the problem-solving sketch / gist for a quiz question for my students. Improve the language of the sketch / gist, make logic flow naturally.
Useful template
-
create an exercise
Task: Create a prototype quiz exercise based on the exercise I provdie belowe. Requirement: Students can solve with pen and paper.
Instruction: Simulate 2 assets scenario, correlation 0.9, the asset return should be easy to calculate, i.e., no long digits after decimal.
Output: Should be a narrative exercise to one-file.qmd
Quiz question:
-
change style suitable for teaching
I want to add that exercise into one-file.qmd.
I am using xaringan presentation to make slides for teaching purposes. You need to break down the exercise into multiple pages suitable for presentation.
-
Provide solutions
Provide the solution sketch to section xx.
Be concise, should include formulas and plugging in the corresponding numbers.