MedDiscover
MedDiscover is an AI-powered tool designed to assist biomedical researchers using RAG-LLM models fine-tuned on PubMed literature.
CLI evaluation (headless)
Install the package (or use it in editable mode), set your OPENAI_API_KEY, and run the built-in evaluator:
pip install .
export OPENAI_API_KEY=...
# optional: ALLOW_MEDCPT_CPU=1 to force MedCPT on CPU
meddiscover-eval \
--pdfs med_discover_ai/eval_samples/sample_pdfs/fmed-11-1345659.pdf med_discover_ai/eval_samples/sample_pdfs/s10549-023-07033-8.pdf \
--qa_csv med_discover_ai/eval_samples/sample_qa.csv \
--embedding_model "MedCPT (GPU Recommended)" \
--llm_models gpt-4.1-mini \
--k 3 \
--max_tokens 64 \
--out_dir ./eval_outputs_demo
# Evaluate both decoders in one run (example)
meddiscover-eval \
--pdfs med_discover_ai/eval_samples/sample_pdfs/fmed-11-1345659.pdf med_discover_ai/eval_samples/sample_pdfs/s10549-023-07033-8.pdf \
--qa_csv med_discover_ai/eval_samples/sample_qa.csv \
--embedding_model "MedCPT (GPU Recommended)" \
--llm_models gpt-4.1-mini,gpt-4.1-nano \
--k 3 --max_tokens 64 --out_dir ./eval_outputs_all
- For Ada-based retrieval, switch
--embedding_modeltoOpenAI Ada-002 (CPU/Cloud). - RAGAS metrics are optional; if dependencies are missing or the QA CSV lacks a
referencecolumn, they fall back toNone. - Re-ranking stays disabled on CPU; enable
--rerankonly when a GPU and cross-encoder are available. - Ollama models are available in both the UI and CLI (prefix with
ollama:), e.g.--llm_models ollama:gemma3:4b.
Metadata
Release files for med-discover-ai 1.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| med_discover_ai-1.0.11.tar.gz | 549.4 kB | Without provenance | Details for med_discover_ai-1.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| med_discover_ai-1.0.11-py3-none-any.whl | Python 3 | none | any | Details for med_discover_ai-1.0.11-py3-none-any.whl |
Total release size: 1.1 MB
Release files / med_discover_ai-1.0.11.tar.gz
| Download URL | med_discover_ai-1.0.11.tar.gz |
|---|---|
| Size | 549.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b58c5537459708fd6f026821ee7f7f59cba0fe8c73096bafed2a07fe3ebdccf4
|
|
BLAKE2b-256 checksum How to use checksums |
ad5cc98bae00403ac6a32ec96c53b14f6c0382e59e8a291b553fee93ac413511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / med_discover_ai-1.0.11-py3-none-any.whl
| Download URL | med_discover_ai-1.0.11-py3-none-any.whl |
|---|---|
| Size | 555.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04e7b864ac33d399c1f4d5efa6114d2695258767e9253072fb90e62b0217edc1
|
|
BLAKE2b-256 checksum How to use checksums |
3657384679f335f0a7bebde6ed74888444f5998af1243a73093538cc5b12cfe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for med-discover-ai 1.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.