From 17db6b18de6708ffac48fb557d5991b387d2fac2 Mon Sep 17 00:00:00 2001 From: Leila Messallem Date: Tue, 17 Dec 2024 13:57:48 +0100 Subject: [PATCH] Fix ollama NameError --- src/neo4j_graphrag/llm/ollama_llm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/neo4j_graphrag/llm/ollama_llm.py b/src/neo4j_graphrag/llm/ollama_llm.py index 83840206..f358e2ac 100644 --- a/src/neo4j_graphrag/llm/ollama_llm.py +++ b/src/neo4j_graphrag/llm/ollama_llm.py @@ -12,6 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from typing import Any, Optional, Sequence, TYPE_CHECKING, cast from pydantic import ValidationError