Skip to content

Commit

Permalink
Update DESIGN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSouther authored Apr 9, 2024
1 parent 79076fd commit 4fc6c28
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,25 @@ Such a CLI could also be written in Python, and perhaps a Python implementation
OpenAI's GPT models are comfortable and familiar, and the APIs "just work" (so far).
Learning to deploy and run a llama model would add significant overhead to getting started on the interesting parts, the authoring experience.
Perhaps when the Python CLI version comes, it'll have a module that allows switching between OpenAI API and a local llama.

## Bedrock and --engine

The Content to Message translation is fairly consistent.
APIs are HTTP calls.
Provide a `bedrock` engine for calling AWS Bedrock, and allow user to choos eny enabled model.

## CLI Pivot

The core Ailly project only really cares about a FileSytem abstraction.
For easier deployment, and to better manage very large contexts, a CLI front end works very well.

```
npm install @ailly/cli
ailly .
```

## Templates

Provide a templating mechanism and expose views.
Templates use Mustache syntax.
Templates get their views by collecting `View` objects along the content load path.

0 comments on commit 4fc6c28

Please sign in to comment.