Google 《Prompt Engineering v7》
together 11 Prompting techniques 13 General prompting / zero shot 13 One-shot & few-shot 15 System, contextual and role prompting 18 System prompting 19 Role prompting 21 Contextual prompting 23 Table contents Step-back prompting 25 Chain of Thought (CoT) 29 Self-consistency 32 Tree of Thoughts (ToT) 36 ReAct (reason & act) 37 Automatic Prompt Engineering 40 Code prompting 42 Prompts for writing Prompts for translating code 46 Prompts for debugging and reviewing code 48 What about multimodal prompting? 54 Best Practices 54 Provide examples 54 Design with simplicity 55 Be specific about the output0 码力 | 68 页 | 6.50 MB | 6 月前3Click Documentation Release 2.6
conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.4.8 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 83 页 | 354.87 KB | 1 年前3Click Documentation Release 3.3
conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.8 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 95 页 | 387.75 KB | 1 年前3Click Documentation Release 6.7
conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 107 页 | 428.42 KB | 1 年前3Click Documentation Release 5.2.dev0
conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 103 页 | 416.61 KB | 1 年前3Click Documentation Release 4.2.dev0
conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same in Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment Usage: digest [OPTIONS] Options: --hash-type [md5|sha1] --help Show this message and exit. 1.5.9 Prompting In some cases, you want parameters that can be provided from the command line, but if not provided0 码力 | 101 页 | 407.32 KB | 1 年前3Django 1.8.x Documentation
use the existing database, or create one if necessary. If False, a new database will be created, prompting the user to remove the existing one, if present. If reverse is True, test cases will be executed existing database will be used, or created if not present. If False, a new database will be created, prompting the user to remove the existing one, if present. Returns the name of the test database that it LOGIN_URL. If the raise_exception parameter is given, the decorator will raise PermissionDenied, prompting the 403 (HTTP Forbidden) view instead of redirecting to the login page. If you want to use raise_exception0 码力 | 1685 页 | 6.01 MB | 1 年前3Django 1.8.x Documentation
use the existing database, or create one if necessary. If False, a new database will be created, prompting the user to remove the existing one, if present. If reverse is True, test cases will be executed existing database will be used, or created if not present. If False, a new database will be created, prompting the user to remove the existing one, if present. Returns the name of the test database that it LOGIN_URL. If the raise_exception parameter is given, the decorator will raise PermissionDenied, prompting the 403 (HTTP Forbidden) view instead of redirecting to the login page. If you want to use raise_exception0 码力 | 2454 页 | 2.85 MB | 1 年前3Click Documentation Release 1.2.dev0
conventions • supports loading values from environment variables out of the box • supports for prompting of custom values • is fully nestable and composable • works the same on Python 2 and 3 • supports Arguments can do less than options. The following features are only available for options: • automatic prompting for missing input • act as flags (boolean or otherwise) • option values can be pulled from environment this message and exit. 12 Chapter 1. Documentation Click Documentation, Release 1.2.dev0 1.4.8 Prompting Sometimes you want parameters that can either be provided from the command line or if not, you0 码力 | 64 页 | 301.16 KB | 1 年前3The Weblate Manual 4.12.1
is still available to signed-in users, in cases where uncertainty about the translation arises, prompting other translators to review it. The suggestions are scanned on a daily basis to remove duplicates or RTL specific characters) Characters configured using SPECIAL_CHARS Translation context This contextual description provides related info about the current string. String attributes Things like message Customizing behavior using flags. GNU gettext Most widely used format for translating libre software. Contextual info stored in the file is supported by adjusting its headers or linking to corresponding source0 码力 | 808 页 | 11.07 MB | 1 年前3
共 975 条
- 1
- 2
- 3
- 4
- 5
- 6
- 98