Skip to content

Comments

feat: support environment variables in parsers#210

Open
wkpark wants to merge 1 commit intoHKUDS:mainfrom
wkpark:feat-env-vars
Open

feat: support environment variables in parsers#210
wkpark wants to merge 1 commit intoHKUDS:mainfrom
wkpark:feat-env-vars

Conversation

@wkpark
Copy link
Contributor

@wkpark wkpark commented Feb 21, 2026

support environment variables in parsers

Checklist

  • Changes tested locally
  • Code reviewed
  • Documentation updated (if necessary)
  • Unit tests added (if applicable)

Additional Notes

you can set environment variables for Mineru and Docling.

for example, you can set CUDA_VISIBLE_DEVICES=1 to make the parser run on a specific GPU. This prevents the parser from slowing down your main AI model on the first GPU.

# Use the second GPU (ID: 1) for this parsing task
await rag.process_document_complete(
    file_path="manual.pdf",
    env={"CUDA_VISIBLE_DEVICES": "1"}
)

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

1 participant