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
| CLOUD_PROTOCOLS = ("s3", "s3n", "s3a", "gcs", "gs", "adl", "abfs", "abfss", "gdrive") | |
| HTTP_PROTOCOLS = ("http", "https") | |
| S3_PROTOCOLS = ("s3", "s3a", "s3n") | |
| PROTOCOL_DELIMITER = "://" | |
| def _parse_filepath(filepath: str) -> dict[str, str]: | |
| """ | |
| Split filepath on protocol and path. Based on `fsspec.utils.infer_storage_options`. |
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
| { | |
| "model": "llm-model-name-goes-here", // Example: "gpt-4-turbo" | |
| "tools": [ | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "get_weather", | |
| "description": "Get the current weather for a specified location.", | |
| "parameters": { | |
| "type": "object", |
OlderNewer