Spaces:
Sleeping
Sleeping
Download KnowledgeService/foundation.py from dellweb3/workos-office: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/KnowledgeService/foundation.py
- Command line
-
hf download hf://spaces/dellweb3/workos-office/KnowledgeService/foundation.py
-
curl -L -o foundation.py https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/KnowledgeService/foundation.py
335 Bytes
| """Compatibility importer; see seed.py for the complete validated corpus.""" | |
| from .seed import corpus_plan, import_catalog, authority_catalog | |
| def import_foundation(service): | |
| import_catalog(service,[r for r in corpus_plan() if r['source_type']=='synthetic_demo' and not r['private'] and not r['document_id'].startswith('D')]) | |