Skip to content

ryano0oceros/ghmodels-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements Processor

This repository contains a script that reads content from all files in the requirements directory, sends the content to an Azure AI model for processing, and writes the model's response to corresponding output files.

Features

  • Reads content from all files in the requirements directory.
  • Sends the content to an Azure AI model for processing.
  • Writes the model's response to output files named after the original files with _response.txt appended.

Setup

  1. Clone the repository:

    git clone https://github.com/ryano0oceros/ghmodels-demo.git
    cd ghmodels-demo
  2. Set your environment variables:

    export AZURE_ENDPOINT=your_azure_ai_inference_endpoint
    export AZURE_KEY=azure_foundry_api_key_1

Usage

  1. Place your requirement files in the requirements directory.

  2. Update the standard prompt in the root directory, feed specific prompts into the requirements directory.

  3. Run the script:

    python3 prompt.py
  4. The responses will be written to the outputs directory with filenames corresponding to the original files, appended with _response.txt.

About

testing GH Models Azure AI integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages