Skip to content

This is a simple example project that demonstrates how to make API calls to ChatGPT using a Python application. The project is structured with model, controller, and service components.

Notifications You must be signed in to change notification settings

sha-linimoorthy/gptAPIcall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ChatGPT API Call Example

This is a simple example project that demonstrates how to make API calls to ChatGPT using a Python application. The project is structured with model, controller, and service components.

Project Structure

The project has the following structure:

  • venv/: Virtual environment directory.
  • model.py: Module for defining the data model.
  • controller.py: Module for handling API requests and responses.
  • gptservices.py: Module for interacting with the ChatGPT API.
  • main.py: Main application entry point.

Getting Started

  1. Clone the repository:

    git clone https://github.com/sha-linimoorthy/gptAPIcall.git
    
  2. Navigate to the directory

  3. Create and Activate a virtual environment

About

This is a simple example project that demonstrates how to make API calls to ChatGPT using a Python application. The project is structured with model, controller, and service components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published