๐Ÿ”ŽTechnical term (Retrieve)

Intro

An LLM can follow instructions via prompts. However, an LLM is more sensitive to "technical terms" rather than "general terms". The best way to get precise output is to use technical terms instead of general terms.

How it work ?

We can change "general terms" into "technical terms" without adjusting other instructions.

``` python
def calculate_square_area (x, y) : 
  return x * y
```
Write unit test.
Return only code.
---------------------------------------------------------
``` python
def calculate_square_area (x, y) : 
  return x * y
```
Write boundary test.
Return only code.

A software developer could consider this ability similar to the search functionality in other programming languages.

Prompt example

General term to generate unit test
Specific term to generate unit test
Specific term to generate unit test

Last updated