aufbau 0.1.0

Type-aware constrained decoding for LLMs using context-dependent grammars with typing rules
Documentation
1
2
3
4
5
6
7
# replace anything like `~/` with the git url of the project
# ~/src/logic/mod.rs -> https://github.com/Unsuspicious-Industries/aufbau/blob/main/src/logic/mod.rs

GIT_BASE_URL = "https://github.com/Unsuspicious-Industries/aufbau/blob/main/"

def process(content: str) -> str:
    return content.replace("~/", GIT_BASE_URL)