mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-03 18:26:04 +00:00
Add the example to use function calling on LLM
This commit is contained in:
parent
245dd85341
commit
fb420d1116
6
data/prompt_function_calling_en.json
Normal file
6
data/prompt_function_calling_en.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{
|
||||
"role": "system",
|
||||
"content": "If external information is required, provide the response according to the given conditions:\n\n* The type field should specify the search type (e.g., weather, location, stock, news, keyword), and the query field should specify the search target.\n* For types that require location information, request location information first.\n* The format must be in JSON-RPC 2.0.\n* The method should always be fixed as `get_search`."
|
||||
}
|
||||
]
|
6
data/prompt_function_calling_ko.json
Normal file
6
data/prompt_function_calling_ko.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{
|
||||
"role": "system",
|
||||
"content": "외부 정보가 필요한 경우 주어진 조건에 맞는 응답을 보내줘.\n\n* type 필드에 검색 유형(예: weather, location, stock, news, keyword), query 필드에 검색 대상을 지정\n* 위치 정보가 필요한 유형은 위치 정보를 먼저 요청\n* JSON-RPC 2.0 형식이여야 함.\n* method는 get_search으로 고정되어야 함."
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user