Google Python Style GuideGoogle Python Style Guide Google Python Style Guide Revision 2.59 Amit Patel Antoine Picard Eugene Jhong Jeremy Hylton Matt Smart Mike Shields Each style point has a summary for which additional information “toggle all” at the top of this document. Background Python is the main scripting language used at Google. This style guide is a list of dos and don’ts for Python programs. To help you format code correctly0 码力 | 30 页 | 94.81 KB | 1 年前3
Google Java Style GuideGoogle Java Style Guide Google Java Style Guide 1 Introduction This document serves as the complete definition of Google’s coding standards for source code in the Java™ Programming Language. A Java Java source file is described as being in Google Style if and only if it adheres to the rules herein. Like other programming style guides, the issues covered span not only aesthetic issues of formatting, 2 Guide notes Example code in this document is non-normative. That is, while the examples are in Google Style, they may not illustrate the only stylish way to represent the code. Optional formatting choices0 码力 | 19 页 | 84.76 KB | 1 年前3
Google C++ Style GuideGoogle C++ Style Guide Google C++ Style Guide Background C++ is one of the main development languages used by many of Google’s open- source projects. As every C++ programmer knows, the language has conventions cover far more than just source file formatting. Most open-source projects developed by Google conform to the requirements in this guide. Note that this guide is not a C++ tutorial: we assume taste should prevail. By this we specifically refer to the established conventions of the entire Google C++ community, not just your personal preferences or those of your team. Be skep- tical about and0 码力 | 83 页 | 238.71 KB | 1 年前3
Google's AngularJS Style GuideGoogle’s AngularJS Style Guide An AngularJS Style Guide for Closure Users at Google This is the external version of a document that was primarily written for Google engineers. It describes a recommended recommended style for AngularJS apps that use Clo- sure, as used internally at Google. Members of the broader AngularJS commu- nity should feel free to apply (or not apply) these recommendations, as relevant their own use cases. This document describes style for AngularJS apps in google3. This guide sup- plements and extends the Google JavaScript Style Guide. Style Note: Examples on the AngularJS external0 码力 | 8 页 | 44.39 KB | 1 年前3
Google's R Style GuideGoogle’s R Style Guide Google’s R Style Guide R is a high-level programming language used primarily for statistical computing and graphics. The goal of the R Programming Style Guide is to make our R share, and verify. The rules below were designed in collaboration with the entire R user community at Google. Summary: R Style Rules 1. File Names: end in .R 2. Identifiers: variable.name (or variableName) command on the same line. (Semicolons are not necessary, and are omitted for consistency with other Google style guides.) Organization General Layout and Ordering If everyone uses the same general ordering0 码力 | 8 页 | 47.42 KB | 1 年前3
Google 《Prompt Engineering v7》translation, code generation, and code documentation or reasoning. Please feel free to refer to Google’s prompting guides2,3 with simple and effective prompting examples. When prompt engineering, you Snippet 1 I am using the langchain framework for Python, together with VertexAI (google-cloud-aiplatform) and the google-search-results pip packages. Prompt Engineering February 2025 38 To run this sample shows the result. Notice that ReAct makes a chain of five searches. In fact, the LLM is scraping Google search results to figure out the band names. Then, it lists the results as observations and chains0 码力 | 68 页 | 6.50 MB | 6 月前3
Google XML Document Format Style Guide Version 1.0Google XML Document Format Style Guide Version 1.0 Copyright Google 2008 Introduction This document provides a set of guidelines for general use when designing new XML document formats (and to some0 码力 | 13 页 | 51.99 KB | 1 年前3
WeRoBot 1.8.0 微信公众号开发框架文档account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回的 JSON 数据包 Client.update_custom_service_account(account, nickname, password) 修改客服帐号。 account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回的 password) 删除客服帐号。 account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回的 JSON 数据包 Client.upload_custom_service_account_avatar(account, avatar) 设置客服帐号的头像。 account – 客服账号的用户名 avatar – 头像文件,必须是 jpg 返回的 JSON 数据包 Client.get_custom_service_account_list() 获取所有客服账号。 返回的 JSON 数据包 Client.get_online_custom_service_account_list() 获取状态为”在线”的客服账号列表。 返回的 JSON 数据包 参数: 返回: 参数: 返回: 参数: 返回: Client.sen0 码力 | 96 页 | 75.79 KB | 1 年前3
WeRoBot 1.6.0 微信公众号开发框架文档account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回: 返回的 JSON 数据包 Client.update_custom_service_account(account, nickname, password) 修改客服帐号。 参数: account – 客服账号的用户名 nickname – 客服账号的昵称 password password – 客服账号的密码 返回: 返回的 JSON 数据包 Client.delete_custom_service_account(account, nickname, password) 删除客服帐号。 参数: account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回: 返回的 JSON 数据包 Client.uploa ar(account, avatar) 设置客服帐号的头像。 参数: account – 客服账号的用户名 avatar – 头像文件,必须是 jpg 格式 返回: 返回的 JSON 数据包 Client.get_custom_service_account_list() 获取所有客服账号。 返回: 返回的 JSON 数据包 Client.send_text_message(user_id0 码力 | 85 页 | 89.26 KB | 1 年前3
WeRoBot 1.5.0 微信公众号开发框架文档account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回: 返回的 JSON 数据包 Client.update_custom_service_account(account, nickname, password) 修改客服帐号。 参数: account – 客服账号的用户名 nickname – 客服账号的昵称 password password – 客服账号的密码 返回: 返回的 JSON 数据包 Client.delete_custom_service_account(account, nickname, password) 删除客服帐号。 参数: account – 客服账号的用户名 nickname – 客服账号的昵称 password – 客服账号的密码 返回: 返回的 JSON 数据包 Client.uploa ar(account, avatar) 设置客服帐号的头像。 参数: account – 客服账号的用户名 avatar – 头像文件,必须是 jpg 格式 返回: 返回的 JSON 数据包 Client.get_custom_service_account_list() 获取所有客服账号。 返回: 返回的 JSON 数据包 Client.send_text_message(user_id0 码力 | 83 页 | 88.85 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













