File | Content |
---|---|
Bethany Hamilton.m4a | Audio file used to demonstrate transcribe |
common.rb | Stuff used by each example |
embed.rb | Demonstrates using Ollama locally to vectorize text for embeddings |
speak.rb | Demonstrates using OpenAI's text to speech models |
text.rb | Demonstrates text-to-text transformers "chat" |
tools.rb | Demonstrates usage of functional callbacks (i.e. tools) |
transcribe.rb | Uses OpenAI's audio-to-text model |
Many of these example programs show both the raw response object as well as just the content from the response.