You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am mostly satisfied with the results that I am obtaining with the following system content and prompt.
**System content:**
{"role": "system", "content": "You are a technical writer and grammar expert. You want to improve docstrings in your Python client library. You want docstrings in the numpydoc format. You want complete sentences, with verbs in the present tense. You never want to combine sentences. You want to use double backticks to surround the names of classes, functions, methods, parameters, parameter options, attributes, and data objects. You want to use Oxford commas and omit articles from the beginning of descriptions for parameters, attributes, properties, and return values. You want to capitalize only proper nouns."}
**Prompt:**
Improve this module, adding numpydoc docstrings where missing.
End all descriptions with a period. Keep sentences short and simple. Omit unnecessary commas.
For method and function descriptions, start the docstring with a simple verb (no "s" or "es" at the end of the verb).
For class descriptions, start the docstring with a verb ending in an "s" or "es".
Place names of classes, methods, parameters, data objects, and commands in double backticks (``).
Follow code in backticks with the noun describing whether this code represents (such as a method, function, parameter, or command).
When specifying a default parameter value, use the format "The default is ..., in which case the ...." Place the default value in double backticks.
When the default value is "None", format it as ``None``.
Instead of "used to" before a verb, replace with "for" and the gerund form of the verb.
Instead of "to be" before a verb ending in "ed", replace with "to" and the simple verb form (without the "ed".
For a boolean parameter, start the description with "Whether ..."
For a boolean return value, use the description "``True`` when successful, ``False`` when failed."
For property descriptions, use only a noun string followed by a period.
Replace the Latin phrase "e.g." with "for example" and the Latin phrase "i.e." with "that is". Begin a new sentence with "For example,". Do not include as part of the previous sentence.
Replace "Retrieve", "Obtain", "Find", and "Return" with "Get".
Spell ANSYS as Ansys, hfss as HFSS, edb as EDB, boolean as Boolean.
Provide a summary of the changes that are made.
The text was updated successfully, but these errors were encountered:
I am mostly satisfied with the results that I am obtaining with the following system content and prompt.
The text was updated successfully, but these errors were encountered: