12 lines
408 B
Python
12 lines
408 B
Python
"""Entrypoint for the independently installable ZP Wiki RAG skill."""
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
# Archives include client.py beside this file; sources share one maintained client.
|
|
if not (Path(__file__).resolve().parent / 'client.py').is_file():
|
|
sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
|
|
from client import main
|
|
|
|
if __name__ == '__main__':
|
|
raise SystemExit(main('rag'))
|