Download utils/__init__.py from Fola-AI/FarmEyes: direct link, hf CLI and curl.
- Browser
- Download file 684 Bytes
-
https://huggingface.co/spaces/Fola-AI/FarmEyes/resolve/main/utils/__init__.py
- Command line
-
hf download hf://spaces/Fola-AI/FarmEyes/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Fola-AI/FarmEyes/resolve/main/utils/__init__.py
684 Bytes
| """ | |
| FarmEyes Utilities Package | |
| ========================== | |
| Utility modules for the FarmEyes application. | |
| Utilities: | |
| - prompt_templates: N-ATLaS prompt templates for various tasks | |
| """ | |
| from utils.prompt_templates import ( | |
| SystemPrompts, | |
| TranslationPrompts, | |
| DiagnosisPrompts, | |
| ConversationalPrompts, | |
| get_system_prompt, | |
| format_prompt_for_natlas, | |
| get_language_name, | |
| LANGUAGE_NAMES, | |
| LANGUAGE_NATIVE_NAMES | |
| ) | |
| __all__ = [ | |
| "SystemPrompts", | |
| "TranslationPrompts", | |
| "DiagnosisPrompts", | |
| "ConversationalPrompts", | |
| "get_system_prompt", | |
| "format_prompt_for_natlas", | |
| "get_language_name", | |
| "LANGUAGE_NAMES", | |
| "LANGUAGE_NATIVE_NAMES" | |
| ] | |