Update README.md
Browse files
README.md
CHANGED
@@ -55,4 +55,59 @@ print(pipe("""λΉμ μ λ€μκ³Ό κ°μ κΈ°λ₯μ μ κ·Όν μ μλ λμ
|
|
55 |
μ΄μ λ―Έκ΅μμ μΌμ΄λ μ΅μ λ΄μ€κ° μκ³ μΆμ΄
|
56 |
<bot>:
|
57 |
<function-call>{"name": "get_news_headlines", "arguments": '{"country": "United States"}'}</function-call>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
```
|
|
|
55 |
μ΄μ λ―Έκ΅μμ μΌμ΄λ μ΅μ λ΄μ€κ° μκ³ μΆμ΄
|
56 |
<bot>:
|
57 |
<function-call>{"name": "get_news_headlines", "arguments": '{"country": "United States"}'}</function-call>
|
58 |
+
```
|
59 |
+
|
60 |
+
### lemon pick
|
61 |
+
νΈμΆ μμ μ μλͺ» νμ
ν κ²½μ° responseλ‘ μ§μνμ§ μμμ νμν μλ μλ€. νμ§λ§ κ·Όλ³Έμ μΈ ν΄κ²°μ±
μ΄ νμ
|
62 |
+
```
|
63 |
+
print(pipe("""λΉμ μ λ€μκ³Ό κ°μ κΈ°λ₯μ μ κ·Όν μ μλ λμμ΄ λλ AI μ΄μμ€ν΄νΈμ
λλ€. μ¬μ©μκ° μ리λ₯Ό μ£Όλ¬Έν λλ§ μ΄ κΈ°λ₯λ€μ μ¬μ©νμΈμ. μ 곡λμ§ μμ κΈ°λ₯μ μ¬μ©νμ§ λ§μΈμ
|
64 |
+
{
|
65 |
+
"name": "order_dish",
|
66 |
+
"description": "μ¬μ©μκ° λ¨Ήκ³ μΆμ μ리λ₯Ό μ£Όλ¬Ένλ€.",
|
67 |
+
"parameters": {
|
68 |
+
"type": "object",
|
69 |
+
"properties": {
|
70 |
+
"dishes": {
|
71 |
+
"type": "list",
|
72 |
+
"description": "The list of dish names"
|
73 |
+
}
|
74 |
+
},
|
75 |
+
"required": [ "dishes" ]
|
76 |
+
}
|
77 |
+
}
|
78 |
+
<human>:
|
79 |
+
μμ μ¬λ―Έμλ λ΄μ€ μλ?
|
80 |
+
<bot>:
|
81 |
+
<function-call>{"name": "get_news", "arguments": '{"date": "today"}'}</function-call>
|
82 |
+
<human>:
|
83 |
+
<function-response>{"status": "unsupported", "message": 'μ§μνμ§ μλ κΈ°λ₯μ
λλ€.'}</function-response>
|
84 |
+
<bot>:
|
85 |
+
""",
|
86 |
+
max_new_tokens=128, do_sample=True)[0]['generated_text'])
|
87 |
+
```
|
88 |
+
κ²°κ³Ό
|
89 |
+
```
|
90 |
+
λΉμ μ λ€μκ³Ό κ°μ κΈ°λ₯μ μ κ·Όν μ μλ λμμ΄ λλ AI μ΄μμ€ν΄νΈμ
λλ€. μ¬μ©μκ° μ리λ₯Ό μ£Όλ¬Έν λλ§ μ΄ κΈ°λ₯λ€μ μ¬μ©νμΈμ. μ 곡λμ§ μμ κΈ°λ₯μ μ¬μ©νμ§ λ§μΈμ
|
91 |
+
{
|
92 |
+
"name": "order_dish",
|
93 |
+
"description": "μ¬μ©μκ° λ¨Ήκ³ μΆμ μ리λ₯Ό μ£Όλ¬Ένλ€.",
|
94 |
+
"parameters": {
|
95 |
+
"type": "object",
|
96 |
+
"properties": {
|
97 |
+
"dishes": {
|
98 |
+
"type": "list",
|
99 |
+
"description": "The list of dish names"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
"required": [ "dishes" ]
|
103 |
+
}
|
104 |
+
}
|
105 |
+
<human>:
|
106 |
+
μμ μ¬λ―Έμλ λ΄μ€ μλ?
|
107 |
+
<bot>:
|
108 |
+
<function-call>{"name": "get_news", "arguments": '{"date": "today"}'}</function-call>
|
109 |
+
<human>:
|
110 |
+
<function-response>{"status": "unsupported", "message": 'μ§μνμ§ μλ κΈ°λ₯μ
λλ€.'}</function-response>
|
111 |
+
<bot>:
|
112 |
+
μ£μ‘νμ§λ§, μ λ λ΄μ€ κΈ°λ₯μ μ§μνμ§ μμ΅λλ€. μ κΈ°λ₯μ μ리λ₯Ό μ£Όλ¬Ένλ κ²μ νμ λμ΄ μμ΅λλ€. λ€λ₯Έ λμμ΄ νμνμλ©΄ μλ €μ£ΌμΈμ.
|
113 |
```
|