Skip to content

RittmanMead/oracle-gen-ai-git-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Oracle Generative AI Git Hook

This repository is an example of how to use Oracle Generative AI with Git to provide peer review of files being commited.

pre-commit

The file called pre-commit should be placed in the directory .git/hooks/. The file needs to be executable which can be acheived by running:

chmod u+x .git/hooks/pre-commit

oracle_ai_peer_review.py

The file called oracle_ai_peer_review.py should be stored in the root of your git repo. For this file to work you need to configure ~/.oci/config and supply your compartment id in the variable called ORACLE_COMPARTMENT_ID.

About

An example of using Oracle Gen AI with a Git hook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published