Add the example to use function calling on LLM

This commit is contained in:
Namhyeon Go 2025-04-27 13:09:03 +09:00
parent 245dd85341
commit fb420d1116
2 changed files with 12 additions and 0 deletions

View 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`."
}
]

View 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으로 고정되어야 함."
}
]