Skip to content
sshkedaPublic

About

Normalize raw data into context your AI agents can use.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Normalize

Normalize raw data into context your AI agents can use.

Normalize is for a directory of raw files and the Markdown files made from them.

your-data/
├── raw/           the files as you got them, of any type
└── normalized/    Markdown files, each made from one or more raw files

It has two parts:

  • How to Normalize a Raw File tells an agent how to write a file in normalized/.
  • bunx @sshkeda/normalize checks the directory. It changes nothing in it.

The check reports:

  • a file under raw/ that no file in normalized/ lists as a source
  • a file in normalized/ whose front matter can't be read, and why
  • a source that isn't a file in raw/, has no sha256, or has one that doesn't match the file

Run the check

Normalize needs Bun 1.4.4 or newer. Run the check from the directory that holds raw/ and normalized/.

bunx @sshkeda/normalize

Development

To run the checks and tests, run bun scripts/ci.ts.

MIT

About

Normalize raw data into context your AI agents can use.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages