Skip to content

What the Package Does (Title Case)

Notifications You must be signed in to change notification settings

n8layman/ehallm

This branch is 3 commits behind ecohealthalliance/ehallm:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

460411c · Jun 26, 2024

History

13 Commits
May 8, 2024
May 22, 2024
Nov 21, 2023
May 22, 2024
Nov 21, 2023
Nov 20, 2023
May 22, 2024
May 22, 2024
May 8, 2024
Nov 20, 2023
Nov 21, 2023
Nov 20, 2023
Jun 26, 2024
Nov 20, 2023

Repository files navigation

EHA Large Language Model (LLM) resources

EHALLM is a collection of R functions and scripts for interacting with OpenAI and other Large Language Models (LLM's). Right now the focus is on OpenAI's ChatGPT. The pipeline will eventually include:

  1. Automated academic literature search
  2. OCR and text extraction to serialize PDF text, tables, and figures
  3. Function calling to enforce a structured response from an LLM
  4. Prompts designed to extract information from literature corpora
  5. A pipeline to submit requests and format, clean, and structure

Installation

Dependencies

ehallm depends on a fork of the openai r package to enable function calling. As of January 2024 function calling is still not available in the main openai package. The appropriate fork can be installed using the following command:

if (!require(remotes)) install.packages("remotes")
remotes::install_github("nhardtskim/openai")

ehallm package

Resources

Prompt Engineering

About

What the Package Does (Title Case)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%