Quiz Part I
Questions
Chapter 1: Image Generation and Vision with OpenAI Models
1. Which of the following tasks can be accomplished using DALL·E 3?
A. Translating text into another language
B. Generating images from a descriptive prompt
C. Executing Python code
D. Transcribing audio files
2. What is the correct way to send an image prompt to DALL·E 3 via the OpenAI API?
A. Using the openai.Image.create()
method with prompt="A fox in the forest"
B. Using openai.Audio.create()
with the prompt as an image path
C. Uploading the image to Whisper
D. Submitting it through the GPT-4o vision tool endpoint
3. GPT-4o’s vision capability allows it to:
A. Execute code with uploaded PDFs
B. Generate images directly
C. Understand and describe the content of uploaded images
D. Train new models from scratch
Chapter 2: Audio Understanding and Generation with Whisper and GPT-4o
4. Whisper is best used for which of the following tasks?
A. Translating code
B. Text generation
C. Transcribing and translating audio
D. Generating voice responses
5. What is a key advantage of using GPT-4o over Whisper alone for voice input?
A. GPT-4o works offline
B. GPT-4o can respond in audio without generating text
C. GPT-4o can understand, reason about, and respond to audio input in context
D. GPT-4o can only transcribe but not reply
6. In a voice-to-voice system, what is the role of the tts-1
model?
A. Transcribe user audio
B. Translate Whisper output
C. Convert GPT responses to speech
D. Embed text into vectors
Chapter 3: Embeddings and Semantic Search
7. What is the main use of text embeddings?
A. Compressing audio files
B. Comparing the meaning of text inputs in vector space
C. Rendering image prompts
D. Encoding passwords securely
8. Which model is recommended for generating text embeddings in most OpenAI applications?
A. whisper-1
B. gpt-4o
C. text-embedding-3-small
D. gpt-3.5-turbo-instruct
9. What is FAISS primarily used for?
A. Training new models
B. Clustering images
C. Fast similarity search of vector embeddings
D. Managing user authentication
10. What advantage do vector databases like Pinecone and Weaviate provide over FAISS?
A. Lower latency in Python scripts
B. GPU support on mobile devices
C. Scalable, persistent, cloud-based vector search with metadata support
D. Real-time training of neural networks
Questions
Chapter 1: Image Generation and Vision with OpenAI Models
1. Which of the following tasks can be accomplished using DALL·E 3?
A. Translating text into another language
B. Generating images from a descriptive prompt
C. Executing Python code
D. Transcribing audio files
2. What is the correct way to send an image prompt to DALL·E 3 via the OpenAI API?
A. Using the openai.Image.create()
method with prompt="A fox in the forest"
B. Using openai.Audio.create()
with the prompt as an image path
C. Uploading the image to Whisper
D. Submitting it through the GPT-4o vision tool endpoint
3. GPT-4o’s vision capability allows it to:
A. Execute code with uploaded PDFs
B. Generate images directly
C. Understand and describe the content of uploaded images
D. Train new models from scratch
Chapter 2: Audio Understanding and Generation with Whisper and GPT-4o
4. Whisper is best used for which of the following tasks?
A. Translating code
B. Text generation
C. Transcribing and translating audio
D. Generating voice responses
5. What is a key advantage of using GPT-4o over Whisper alone for voice input?
A. GPT-4o works offline
B. GPT-4o can respond in audio without generating text
C. GPT-4o can understand, reason about, and respond to audio input in context
D. GPT-4o can only transcribe but not reply
6. In a voice-to-voice system, what is the role of the tts-1
model?
A. Transcribe user audio
B. Translate Whisper output
C. Convert GPT responses to speech
D. Embed text into vectors
Chapter 3: Embeddings and Semantic Search
7. What is the main use of text embeddings?
A. Compressing audio files
B. Comparing the meaning of text inputs in vector space
C. Rendering image prompts
D. Encoding passwords securely
8. Which model is recommended for generating text embeddings in most OpenAI applications?
A. whisper-1
B. gpt-4o
C. text-embedding-3-small
D. gpt-3.5-turbo-instruct
9. What is FAISS primarily used for?
A. Training new models
B. Clustering images
C. Fast similarity search of vector embeddings
D. Managing user authentication
10. What advantage do vector databases like Pinecone and Weaviate provide over FAISS?
A. Lower latency in Python scripts
B. GPU support on mobile devices
C. Scalable, persistent, cloud-based vector search with metadata support
D. Real-time training of neural networks
Questions
Chapter 1: Image Generation and Vision with OpenAI Models
1. Which of the following tasks can be accomplished using DALL·E 3?
A. Translating text into another language
B. Generating images from a descriptive prompt
C. Executing Python code
D. Transcribing audio files
2. What is the correct way to send an image prompt to DALL·E 3 via the OpenAI API?
A. Using the openai.Image.create()
method with prompt="A fox in the forest"
B. Using openai.Audio.create()
with the prompt as an image path
C. Uploading the image to Whisper
D. Submitting it through the GPT-4o vision tool endpoint
3. GPT-4o’s vision capability allows it to:
A. Execute code with uploaded PDFs
B. Generate images directly
C. Understand and describe the content of uploaded images
D. Train new models from scratch
Chapter 2: Audio Understanding and Generation with Whisper and GPT-4o
4. Whisper is best used for which of the following tasks?
A. Translating code
B. Text generation
C. Transcribing and translating audio
D. Generating voice responses
5. What is a key advantage of using GPT-4o over Whisper alone for voice input?
A. GPT-4o works offline
B. GPT-4o can respond in audio without generating text
C. GPT-4o can understand, reason about, and respond to audio input in context
D. GPT-4o can only transcribe but not reply
6. In a voice-to-voice system, what is the role of the tts-1
model?
A. Transcribe user audio
B. Translate Whisper output
C. Convert GPT responses to speech
D. Embed text into vectors
Chapter 3: Embeddings and Semantic Search
7. What is the main use of text embeddings?
A. Compressing audio files
B. Comparing the meaning of text inputs in vector space
C. Rendering image prompts
D. Encoding passwords securely
8. Which model is recommended for generating text embeddings in most OpenAI applications?
A. whisper-1
B. gpt-4o
C. text-embedding-3-small
D. gpt-3.5-turbo-instruct
9. What is FAISS primarily used for?
A. Training new models
B. Clustering images
C. Fast similarity search of vector embeddings
D. Managing user authentication
10. What advantage do vector databases like Pinecone and Weaviate provide over FAISS?
A. Lower latency in Python scripts
B. GPU support on mobile devices
C. Scalable, persistent, cloud-based vector search with metadata support
D. Real-time training of neural networks
Questions
Chapter 1: Image Generation and Vision with OpenAI Models
1. Which of the following tasks can be accomplished using DALL·E 3?
A. Translating text into another language
B. Generating images from a descriptive prompt
C. Executing Python code
D. Transcribing audio files
2. What is the correct way to send an image prompt to DALL·E 3 via the OpenAI API?
A. Using the openai.Image.create()
method with prompt="A fox in the forest"
B. Using openai.Audio.create()
with the prompt as an image path
C. Uploading the image to Whisper
D. Submitting it through the GPT-4o vision tool endpoint
3. GPT-4o’s vision capability allows it to:
A. Execute code with uploaded PDFs
B. Generate images directly
C. Understand and describe the content of uploaded images
D. Train new models from scratch
Chapter 2: Audio Understanding and Generation with Whisper and GPT-4o
4. Whisper is best used for which of the following tasks?
A. Translating code
B. Text generation
C. Transcribing and translating audio
D. Generating voice responses
5. What is a key advantage of using GPT-4o over Whisper alone for voice input?
A. GPT-4o works offline
B. GPT-4o can respond in audio without generating text
C. GPT-4o can understand, reason about, and respond to audio input in context
D. GPT-4o can only transcribe but not reply
6. In a voice-to-voice system, what is the role of the tts-1
model?
A. Transcribe user audio
B. Translate Whisper output
C. Convert GPT responses to speech
D. Embed text into vectors
Chapter 3: Embeddings and Semantic Search
7. What is the main use of text embeddings?
A. Compressing audio files
B. Comparing the meaning of text inputs in vector space
C. Rendering image prompts
D. Encoding passwords securely
8. Which model is recommended for generating text embeddings in most OpenAI applications?
A. whisper-1
B. gpt-4o
C. text-embedding-3-small
D. gpt-3.5-turbo-instruct
9. What is FAISS primarily used for?
A. Training new models
B. Clustering images
C. Fast similarity search of vector embeddings
D. Managing user authentication
10. What advantage do vector databases like Pinecone and Weaviate provide over FAISS?
A. Lower latency in Python scripts
B. GPU support on mobile devices
C. Scalable, persistent, cloud-based vector search with metadata support
D. Real-time training of neural networks