Add docs to download overture places data & ollama model (#13)

* Add docs to download overture places data & ollama model
* Hit local overture parquet files
* Add osx gitignore
* Add .env.example
* Make overture data source selectable using .env
* Add pytest marker to set right ENV vars during CI

---------

Co-authored-by: Daniel Wiesmann <yellowcap@users.noreply.github.com>
This commit is contained in:
Soumya Ranjan Mohanty
2025-12-04 22:11:10 +05:30
committed by GitHub
parent 16f39f908f
commit be8affaa6c
10 changed files with 1848 additions and 1777 deletions
+14
View File
@@ -1,8 +1,22 @@
import os
import pytest
from langchain_core.tools.base import ToolCall
from geo_assistant.tools.overture import get_place
@pytest.fixture(autouse=True)
def setup_ci_env():
"""Configure S3 source for CI environments."""
# Detect CI environment (GitHub Actions, GitLab CI, etc.)
if os.getenv("CI") or os.getenv("GITHUB_ACTIONS"):
os.environ["OVERTURE_SOURCE"] = "s3"
os.environ["OVERTURE_S3_PATH"] = (
"s3://overturemaps-us-west-2/release/2025-11-19.0/theme=places/type=place/*"
)
yield
async def test_get_place():
command = await get_place.ainvoke(
ToolCall(