Python - OpenAI - Lots O Models
Автор: dtomyn_tech
Загружено: 2025-12-23
Просмотров: 38
NOTE 1: I added the WRONG dotenv... make sure you install python-dotenv and NOT the dotenv I added in this video!!
NOTE 2: since this video creation I realized that uv automatically creates the virtual environment the moment that you add a package to the project... or the moment you run the project!
Simple demonstration of using OpenAI API in Python across a lot of different models and model providers
Timestamps:
00:00 Intro
00:45 uv setup
01:44 starting virtual environment
02:24 activating the virtual environment
02:44 installing packages dotenv and openai
03:13 setting up .env
03:38 bringing in the main.py code
05:04 Google AI Studio setup with Gemini-2.0-flash
05:52 Hugging Face with Qwen3-Coder-30B-A3B-Instruct
06:42 Amazon Nova with nova-2-lite-v1
07:15 GitHub Models with grok-3-mini
08:07 Microsoft Foundry with DeepSeek-V3.2
08:40 Microsoft Foundry Local with Phi-4-mini
10:58 Ollama with gpt-oss:20b
11:50 Closing thoughts
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: