.gitignore
.isort.cfg
.pre-commit-config.yaml
.pylintrc
LICENSE
README.md
pyproject.toml
tox.ini
.github/dependabot.yml
.github/actions/free-disk-space/action.yml
.github/actions/ollama-setup/action.yml
.github/actions/ollama-setup-intrinsics/action.yml
.github/workflows/actionlint.dockerfile
.github/workflows/actionlint.yml
.github/workflows/lint.yml
.github/workflows/pypi.yml
.github/workflows/test.yml
.github/workflows/test_notebooks.yml
.github/workflows/test_ollama.yml
.github/workflows/matchers/actionlint.json
.github/workflows/matchers/pylint.json
notebooks/.gitignore
notebooks/granite3.x_demo.ipynb
notebooks/intrinsics.ipynb
notebooks/intrinsics_openai.ipynb
notebooks/intrinsics_transformers.ipynb
notebooks/rag.ipynb
scripts/env.sh
src/granite_common/.gitignore
src/granite_common/__init__.py
src/granite_common/_version.py
src/granite_common/optional.py
src/granite_common/util.py
src/granite_common.egg-info/PKG-INFO
src/granite_common.egg-info/SOURCES.txt
src/granite_common.egg-info/dependency_links.txt
src/granite_common.egg-info/requires.txt
src/granite_common.egg-info/top_level.txt
src/granite_common/base/__init__.py
src/granite_common/base/io.py
src/granite_common/base/types.py
src/granite_common/granite3/__init__.py
src/granite_common/granite3/constants.py
src/granite_common/granite3/input.py
src/granite_common/granite3/output.py
src/granite_common/granite3/types.py
src/granite_common/granite3/granite32/__init__.py
src/granite_common/granite3/granite32/constants.py
src/granite_common/granite3/granite32/input.py
src/granite_common/granite3/granite32/output.py
src/granite_common/granite3/granite32/types.py
src/granite_common/granite3/granite33/__init__.py
src/granite_common/granite3/granite33/constants.py
src/granite_common/granite3/granite33/input.py
src/granite_common/granite3/granite33/output.py
src/granite_common/granite3/granite33/types.py
src/granite_common/intrinsics/__init__.py
src/granite_common/intrinsics/constants.py
src/granite_common/intrinsics/input.py
src/granite_common/intrinsics/json_util.py
src/granite_common/intrinsics/output.py
src/granite_common/intrinsics/types.py
src/granite_common/intrinsics/util.py
src/granite_common/retrievers/__init__.py
src/granite_common/retrievers/elasticsearch.py
src/granite_common/retrievers/embeddings.py
src/granite_common/retrievers/util.py
tests/conftest.py
tests/granite_common/base/test_types.py
tests/granite_common/granite3/test_granite32.py
tests/granite_common/granite3/test_granite33.py
tests/granite_common/intrinsics/rag/test_rag_intrinsics_lib.py
tests/granite_common/intrinsics/rag/testdata/input_args/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/input_args/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/input_args/instruction.json
tests/granite_common/intrinsics/rag/testdata/input_args/requirement_check.json
tests/granite_common/intrinsics/rag/testdata/input_json/answer_relevance_classifier.json
tests/granite_common/intrinsics/rag/testdata/input_json/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/input_json/answerable.json
tests/granite_common/intrinsics/rag/testdata/input_json/citations.json
tests/granite_common/intrinsics/rag/testdata/input_json/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/input_json/extra_params.json
tests/granite_common/intrinsics/rag/testdata/input_json/hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/input_json/instruction.json
tests/granite_common/intrinsics/rag/testdata/input_json/query_clarification.json
tests/granite_common/intrinsics/rag/testdata/input_json/query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/input_json/requirement_check.json
tests/granite_common/intrinsics/rag/testdata/input_json/simple.json
tests/granite_common/intrinsics/rag/testdata/input_json/unanswerable.json
tests/granite_common/intrinsics/rag/testdata/input_json/uncertainty.json
tests/granite_common/intrinsics/rag/testdata/input_yaml/answerability.yaml
tests/granite_common/intrinsics/rag/testdata/input_yaml/instruction.yaml
tests/granite_common/intrinsics/rag/testdata/input_yaml_ollama/answerability.yaml
tests/granite_common/intrinsics/rag/testdata/input_yaml_ollama/instruction.yaml
tests/granite_common/intrinsics/rag/testdata/test_canned_input/answer_relevance_classifier.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/answerability_answerable.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/answerability_extra_params.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/answerability_simple.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/answerability_unanswerable.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/citations.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/gpt_oss_answerability.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/gpt_oss_citations.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/gpt_oss_hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/gpt_oss_query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/instruction.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/query_clarification.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/requirement_check.json
tests/granite_common/intrinsics/rag/testdata/test_canned_input/uncertainty.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/answer_relevance_classifier.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/answerability_answerable.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/answerability_simple.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/answerability_unanswerable.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/citations.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/gpt_oss_answerability.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/gpt_oss_citations.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/gpt_oss_hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/gpt_oss_query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/query_clarification.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/requirement_check.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/expected_result/uncertainty.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/answer_relevance_classifier.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/answerability_answerable.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/answerability_simple.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/answerability_unanswerable.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/citations.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/gpt_oss_answerability.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/gpt_oss_citations.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/gpt_oss_hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/gpt_oss_query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/query_clarification.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/requirement_check.json
tests/granite_common/intrinsics/rag/testdata/test_canned_output/model_output/uncertainty.json
tests/granite_common/intrinsics/rag/testdata/test_reparse_json/bare_string.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/answer_relevance_classifier.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/answerability_answerable.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/answerability_simple.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/answerability_unanswerable.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/citations.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/query_clarification.json
tests/granite_common/intrinsics/rag/testdata/test_run_ollama/query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answer_relevance_classifier.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answer_relevance_classifier_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answer_relevance_rewriter.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answer_relevance_rewriter_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answerability_answerable.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answerability_answerable_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answerability_simple.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answerability_unanswerable.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/answerability_unanswerable_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/citations.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/citations_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/context_relevance.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/context_relevance_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/hallucination_detection.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/query_clarification.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/query_rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/requirement_check.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/requirement_check_alora.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/rewrite.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/uncertainty.json
tests/granite_common/intrinsics/rag/testdata/test_run_transformers/uncertainty_alora.json
tests/granite_common/retrievers/test_retrievers.py
tests/granite_common/retrievers/testdata/govt10.jsonl.zip
tests/granite_common/retrievers/testdata/govt10_embeds.parquet/part_001.parquet