Skip to content

This repository, Github-AI-models, is designed to test and utilize various AI models using GitHub tokens. It serves as a platform to experiment with and efficiently use AI models for diverse applications. Perfect for developers looking to integrate AI models into their workflows.

License

Notifications You must be signed in to change notification settings

rishabharaj/Github-AI-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Model Testing with GitHub Token

This repository is for demo purposes. You can use your GitHub Token to test AI models (OpenAI/GitHub Models) with these scripts and notebooks.

How to Use

  1. Get a GitHub Token:

    • Create a Personal Access Token (PAT) from GitHub Settings > Tokens.
    • Set the token in a .env file or as the GITHUB_TOKEN environment variable.
  2. Install dependencies:

    pip install openai ipywidgets python-dotenv pillow
  3. Check the code:

    • Each file (Python script or notebook) is a separate demo. Check the file name and run or review the code as needed.
    • Example: imagechat.py generates images from text, chatbot-gpt4o.ipynb is a chatbot demo, etc.
  4. Model/Deployment Name:

    • Some scripts may have the model or deployment name hardcoded. Update it according to your Azure or GitHub Models setup.

Note

  • This repo is for demo/testing only. For production, keep your credentials and deployment details secure.
  • Each code file contains comments or instructions. Please follow them.

There are different code examples in this repo for demo purposes. Check the code files for details.

About

This repository, Github-AI-models, is designed to test and utilize various AI models using GitHub tokens. It serves as a platform to experiment with and efficiently use AI models for diverse applications. Perfect for developers looking to integrate AI models into their workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published