This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using UnityEngine; | |
| // Grid router for Unity: finds up to N non-crossing Manhattan paths on an XxY grid | |
| // Uses BFS (Lee/wave) with randomized neighbor order and retries (rip-up & reroute style) | |
| // Designed to be easy to drop into a Unity project. No scene dependencies. | |
| public static class GridRouter | |
| { | |
| public struct MultiRouteResult |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pydantic import BaseModel, Field | |
| from datetime import date | |
| import ollama | |
| import requests | |
| import json | |
| import pandas as pd | |
| class Query(BaseModel): | |
| """Data that we want collect from user to get weather data""" |