Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert main.py into installable CLI tool pragmatic #39

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

rhatdan
Copy link
Contributor

@rhatdan rhatdan commented Feb 7, 2025

I want to run pragmatic inside of a container, via Podman.

We need to be able to execute the pragmatic command in order to populate the database via the ramalama rag command.

ramalama rag /tmp/mydoc.pdf https://my.web/docs.docx ~/mydocsdir quay.io/ramalama/ragdata:latest

podman run -ti --rm --network none -v /tmp/mydoc.pdf:/tmp/mydoc.pdf:ro /mydocsdir:/mydocsdir:ro -v /home/dwalsh/ramalama:/tmp/output quay.io/ramalama/ramalama-docling /usr/bin/pragmatic ...

I want to run pragmatic inside of a container, via Podman.

We need to be able to execute the pragmatic command in order
to populate the database via the ramalama rag command.

ramalama rag /tmp/mydoc.pdf https://my.web/docs.docx ~/mydocsdir quay.io/ramalama/ragdata:latest

Signed-off-by: Daniel J Walsh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants