Skip to content

panalexeu/cag_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cag_cli

cag_cli is a CLI application built with Typer and cag — a simple Python library that allows loading various data sources into a unified XML format, which can be ingested into a model's context.

Model inference is not supported yet; however, loading PDFs, images (with OpenAI), and simple text files into the unified XML-text format is supported.

Here is a usage example (a directory with files was cached):

demo_cache_dir

Here is an example of image file caching. Before running the commands, the OPENAI_API_KEY environment variable was set:

demo_cache_img_file

help

cli_cag_help

cli_cag_cache_help

About

A CLI app that provides LLMs with cached context.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages