Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjchambers committed Feb 5, 2025
1 parent 56036b8 commit 14e1e0d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
run: uv sync --all-packages --group=docs --all-extras

- name: Check if documentation can be built
run: uv run mkdocs --build
run: uv run mkdocs build
id: build
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand All @@ -182,6 +182,9 @@ jobs:
contents: write # to write to the `gh-pages` branch

steps:
- name: Check out
uses: actions/checkout@v4

- name: Set up the environment
uses: ./.github/actions/setup-python-env

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/lazy-graph-rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -774,9 +774,9 @@
"source": [
"from typing import Any\n",
"\n",
"from graph_retriever.edges import EdgeSpec, MetadataEdgeFunction\n",
"from langchain_core.language_models import BaseLanguageModel\n",
"from langchain_core.runnables import chain\n",
"from graph_retriever.edges import EdgeSpec, MetadataEdgeFunction\n",
"from langchain_graph_retriever import GraphRetriever\n",
"from langchain_graph_retriever.document_graph import create_graph, group_by_community\n",
"\n",
Expand Down Expand Up @@ -842,10 +842,10 @@
"metadata": {},
"outputs": [],
"source": [
"from graph_retriever.edges import Id\n",
"from langchain_core.prompts import PromptTemplate\n",
"from langchain_core.runnables import RunnablePassthrough\n",
"from langchain_graph_retriever import GraphRetriever\n",
"from graph_retriever.edges import Id\n",
"\n",
"RETRIEVER = GraphRetriever(\n",
" store=store,\n",
Expand Down
3 changes: 2 additions & 1 deletion packages/graph-retriever/src/graph_retriever/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Provides retrieval functions combining vector and graph traversal.
"""
Provides retrieval functions combining vector and graph traversal.
The main methods are [`traverse`][graph_retriever.traverse] and
[`atraverse`][graph_retriever.atraverse] which provide synchronous and
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
"""Specification and implementation of edges functions.
"""
Specification and implementation of edges functions.
These are responsible for extracting edges from nodes and expressing them in way
that the adapters can implement.
"""

from ._base import Edge, EdgeFunction, Edges, IdEdge, MetadataEdge
from .metadata import EdgeSpec, Id, MetadataEdgeFunction

Expand Down

0 comments on commit 14e1e0d

Please sign in to comment.