Skip to content

GitHib Action to run ai-digest CLI. Aggregate multiple files into a single Markdown context file for more accurate AI chat responses and code completions.

License

Notifications You must be signed in to change notification settings

kevinobee/ai-digest

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ai-digest action

GitHib Action to run ai-digest CLI. Aggregate multiple files into a single Markdown file and add it your AI tool of choice.

By adding context to an AI tool you enable it to generate more accurate chat responses and code completions for any subject domain.

Test

Inputs

input_path

Optional The input directory to aggregate content from (default: current directory).

output_file

Optional Specify output file (default: codebase.md).

digest_log

Optional Specify digest log file (default: ingest.md).

ai_digest_flags

Optional Flags passed to ai-digest (default: '--whitespace-removal --show-output-files').

Outputs

total_files

Total number of files parsed from the input_path folder.

included_files

Total number of files included in the output file.

ignored_files

Total number of files ignored.

binary_files

Total number of binary files in the output file.

estimated_tokens

Estimated number of tokens in the output file.

Example usage

uses: kevinobee/ai-digest
with:
  input_path: './docs'
  output_file: 'docs.md'
  digest_log: 'ai-digest-log.md'

About

GitHib Action to run ai-digest CLI. Aggregate multiple files into a single Markdown context file for more accurate AI chat responses and code completions.

Topics

Resources

License

Stars

Watchers

Forks