Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /promptdriven_pdd /context /path_resolution_example.py
| from pdd.path_resolution import get_default_resolver | |
| def main() -> None: | |
| resolver = get_default_resolver() | |
| include_path = resolver.resolve_include("context/python_preamble.prompt") | |
| prompt_path = resolver.resolve_prompt_template("load_prompt_template_python") | |
| project_root = resolver.resolve_project_root() | |
| print(include_path) | |
| print(prompt_path) | |
| print(project_root) | |
| try: | |
| data_path = resolver.resolve_data_file("data/language_format.csv") | |
| print(data_path) | |
| except ValueError: | |
| print("PDD_PATH not set") | |
| if __name__ == "__main__": | |
| main() | |
Xet Storage Details
- Size:
- 604 Bytes
- Xet hash:
- afc16dc7d8366d87886790b44c6431d3a286c697c0cb116a963f45d8d06bf87c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.