Skip to content

Extracting knowledge from Git repositories in R

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

r-world-devs/GitAI

Repository files navigation

GitAI

Codecov test coverage

The goal of GitAI is to derive knowledge from GitHub or GitLab repositories with the use of AI/LLM (Large Language Models). With GitAI you can easily:

  • set up your project scope (Git repositories),
  • select content of interest (files and file types),
  • choose your LLM backend,
  • define the LLM prompts,
  • process content of all repositories with a single function call.

And all of that in a nice tidyverse style.

Installation

You can install the development version of GitAI from GitHub with:

# install.packages("pak")
pak::pak("r-world-devs/GitAI")

Example workflow

Basic workflow could look like:

library(GitAI)
# Set up project
my_project <- initialize_project("fascinating_project") |>
  set_github_repos(repos = c("r-world-devs/GitStats", "r-world-devs/GitAI", "openpharma/DataFakeR")) |>
  add_files(files = "README.md") |>
  set_llm() |>
  set_prompt("Write one-sentence summary for a project based on given input.")

# Get the results
results <- process_repos(my_project)

About

Extracting knowledge from Git repositories in R

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages