Skip to content

Commit ada954e

Browse files
authored
Merge pull request #30 from linkml/few-shot-inference
Adding variant of RAG inference engine for doing few-shot inference using schema as example
2 parents d0e1f76 + 96ecf16 commit ada954e

File tree

18 files changed

+4889
-1068
lines changed

18 files changed

+4889
-1068
lines changed

.github/workflows/qc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
mongodb-version: ${{ matrix.mongodb-version }}
4141

4242
- name: Test with pytest and generate coverage file
43-
run: poetry run pytest -m "not integration and not neo4j" --ignore=src/linkml_store/inference/implementations/rag_inference_engine.py
43+
run: poetry run pytest -m "not integration and not neo4j" --ignore=src/linkml_store/inference/implementations/rag_inference_engine.py tests

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ install:
1010
poetry install --no-interaction --all-extras
1111

1212
pytest:
13-
$(RUN) pytest -m "not integration"
13+
$(RUN) pytest -m "not integration" tests
1414

1515
pytest-neo4j:
1616
$(RUN) pytest -k only_neo4j
1717

1818
pytest-core:
19-
$(RUN) pytest
19+
$(RUN) pytest tests
2020

2121
pytest-minimal:
2222
$(RUN) pytest tests/test_api/test_filesystem_adapter.py
@@ -36,7 +36,7 @@ install-all:
3636

3737
DOCTEST_DIR = docs src/linkml_store/api src/linkml_store/index src/linkml_store/utils
3838
doctest:
39-
find $(DOCTEST_DIR) -type f \( -name "*.rst" -o -name "*.md" -o -name "*.py" \) -print0 | xargs -0 $(RUN) python -m doctest --option ELLIPSIS --option NORMALIZE_WHITESPACE
39+
find $(DOCTEST_DIR) -type f \( -name "*.rst" -o -name "*.md" -o -name "*.py" \) ! -path "*/chromadb/*" -print0 | xargs -0 $(RUN) python -m doctest --option ELLIPSIS --option NORMALIZE_WHITESPACE
4040

4141
NB_DIRS = tutorials how-to
4242
NB_DIRS_EXPANDED = $(patsubst %, docs/%/*.ipynb, $(NB_DIRS))

0 commit comments

Comments
 (0)