Skip to content

globalbibletools/ai-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Experiments for Global Bible Tools

Usage

Create an .env file with the following env vars:

  • DATABASE_URL - PSQL connection string to database with gloss data
  • OPENAPI_KEY - The API key for making requests to the GPT model from OpenAI
  • GOOGLE_TRANSLATE_CREDENTIALS - The API key for access the Google Translate API

Run the script with the experiments you want to run:

node src/index.js --target=pol --ref=spa --start=01001001 --end=01001005 --experiments=experiment-1,experiment-2 > results.csv

Short hand:

node src/index.js -t=pol -r=spa -s=01001001 -e=01001005 -x=experiment-1,experiment-2 > results.csv

Experiments

  • google-translate - Uses the Google Translate API with glosses from the ref language.
  • gpt-standards - Uses GPT-4o-mini with glossing standards in the prompt. No glosses from the ref language, examples, or fine tuning are used.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors