Skip to content

Welcome to the OpenAI Examples Repository! This project demonstrates how to leverage OpenAI's GPT-4o model within a Dockerized environment.

License

Notifications You must be signed in to change notification settings

jero2rome/OpenAIQuickStart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Now Using GPT-4o

OPEN AI examples using GPT-4o model

Whether you're new to OpenAI or an experienced developer, this repository offers practical examples to help you integrate and utilize OpenAI's powerful language models.

Key Features

  • Dockerized Environment: Ensures a consistent and isolated setup, making it easy to run examples without manual dependency management.
  • GPT-4o Integration: Explore the latest capabilities of OpenAI's GPT-4o model across various use cases.
  • GitHub Codespaces Support: Open the project directly in GitHub Codespaces for a seamless, web-based development experience.

What's Inside

  • Dockerfile: Defines the Docker environment setup for the project.
  • devcontainer.json: Configuration file for setting up the development container in Visual Studio Code.
  • QuickStarts/: Contains scripts demonstrating different applications of the OpenAI API.

Getting Started

Run the App Locally

  1. Download and Install Docker: Ensure Docker is installed on your machine.
  2. Clone the Repository:
    git clone https://github.com/jero2rome/OpenAIQuickStart.git
    cd OpenAIQuickStart
  1. Setup Devcontainer: Open the repository in Visual Studio Code and select "Reopen in Container" from the Remote Explorer extension.
  2. Obtain OpenAI API Key: Store your OpenAI API key in your GitHub Codespaces secrets as OPENAI_API_KEY.
  3. Run the Main App:
    python main.py

Running in GitHub Codespaces

  • Open the repository in GitHub Codespaces.
  • Skip to Step 5 and start running the examples immediately.

Contributing We welcome contributions! Feel free to fork the repository, create a feature branch, and submit a pull request. For significant changes, please open an issue first to discuss your ideas.

Contact For questions or assistance, please open an issue or reach out via GitHub Discussions.

About

Welcome to the OpenAI Examples Repository! This project demonstrates how to leverage OpenAI's GPT-4o model within a Dockerized environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published