Skip to content

Commit

Permalink
no name due to openai/openai-python#1078
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Jan 16, 2024
1 parent cfeac00 commit 83f80e2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 26 deletions.
4 changes: 1 addition & 3 deletions chatlab/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,11 @@ def function_result(name: str, content: str) -> ChatCompletionMessageParam:
}


def tool_result(tool_call_id: str, name: str, content: str) -> ChatCompletionToolMessageParam:
def tool_result(tool_call_id: str, content: str) -> ChatCompletionToolMessageParam:
"""Create a tool result message.
Args:
tool_call_id: The ID of the tool call.
name: The name of the tool.
content: The content of the message.
Returns:
Expand All @@ -114,7 +113,6 @@ def tool_result(tool_call_id: str, name: str, content: str) -> ChatCompletionToo
return {
"role": "tool",
"content": content,
"name": name,
"tool_call_id": tool_call_id,
}

Expand Down
55 changes: 32 additions & 23 deletions notebooks/parallel-function-calling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 15\n",
" 6\n",
" </text>\n",
"</svg>"
],
Expand All @@ -226,7 +226,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 11\n",
" 4\n",
" </text>\n",
"</svg>"
],
Expand All @@ -243,7 +243,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 9\n",
" 8\n",
" </text>\n",
"</svg>"
],
Expand All @@ -260,7 +260,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 17\n",
" 10\n",
" </text>\n",
"</svg>"
],
Expand All @@ -277,7 +277,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 4\n",
" 10\n",
" </text>\n",
"</svg>"
],
Expand All @@ -294,7 +294,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 17\n",
" 2\n",
" </text>\n",
"</svg>"
],
Expand All @@ -311,7 +311,7 @@
"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 1200 1200\">\n",
" <path d=\"M1102.8 896.4c1.2-1.2 1.2-2.398 1.2-2.398V318.004c0-1.2-1.2-1.2-1.2-2.399v-1.199c0-1.2-1.2-1.2-1.2-1.2v-1.198l-1.198-1.2s-1.2-1.199-2.399-1.199h-1.199l-486-282.01c-7.2-3.601-15.602-3.601-21.602 0l-483.6 279.6c-1.2 0-1.2 1.2-2.398 1.2h-1.2l-3.597 3.597s0 1.2-1.2 1.2l-1.199 1.198v1.2s0 1.199-1.199 1.199v571.196c0 1.198 1.2 2.397 1.2 3.6 0 1.2 1.198 2.4 2.398 3.602v1.2C98.399 898.8 99.602 900 100.8 900l2.399 2.398h2.398l483.6 279.6s1.2 0 1.2 1.2h17.988s1.198 0 1.198-1.2l483.6-279.6h2.399s1.199 0 1.199-1.199l1.2-1.2s1.198 0 1.198-1.198l1.2-1.2s0-1.199 1.199-1.199c.02 1.2.02-.004 1.219-.004zm-960-445.2 134.4 333.6c1.2 3.602 0 8.398-4.8 10.801l-123.6 51.602c-4.802 2.398-10.802-1.2-10.802-7.2l.004-387.61c0-2.398 3.602-3.597 4.8-1.198zm696 331.2H361.2c-6 0-9.602-7.2-7.2-12l238.8-414c3.602-4.8 10.802-4.8 13.2 0l238.8 414c3.598 6 0 12-6 12zm-531.6-43.199-154.8-382.8c-2.398-4.8 1.2-10.801 7.2-10.801L546 326.401c6 0 10.8 6 7.198 12l-232.8 402c-2.398 6-10.797 6-13.199-1.2zm526.8 100.8-228 280.8c-3.602 3.602-9.602 3.602-12 0l-228-280.8c-3.602-4.8 0-13.199 6-13.199h456c6 0 9.602 8.398 6 13.199zm45.602-99.602-232.8-402c-3.602-6 1.2-12 7.2-12l386.4 19.199c6 0 8.398 6 7.198 10.801l-154.8 382.8c-2.402 7.2-10.8 7.2-13.199 1.2zm-258-466.8v-175.2c0-6 7.2-9.602 12-7.2l350.4 202.8c2.398 1.2 1.2 4.802-1.2 4.802l-354-18c-3.6 0-7.198-3.602-7.198-7.2zm-51.602 7.2-354 18c-2.398 0-3.602-3.602-1.2-4.802l351.6-201.6c4.802-3.601 12 1.2 12 7.2v174c0 3.601-3.597 7.203-8.398 7.203zm-264 555.6 193.2 238.8c1.2 2.398-1.2 4.8-3.602 3.6l-315.6-182.4c-6-3.6-4.8-12 1.2-14.397l116.4-48c2.402-1.2 6.003 0 8.402 2.398zm596.4-2.4 116.4 48c6 2.4 7.2 10.802 1.2 14.399l-316.8 182.4c-2.4 1.199-4.802-1.2-3.602-3.602l193.2-238.8c3.601-2.398 7.203-3.597 9.601-2.398zm148.8 13.2-123.6-51.602c-3.602-1.2-6-6-4.8-10.801l134.4-333.6c1.198-2.399 4.8-1.2 4.8 1.199l.004 387.61c0 6-6 9.602-10.801 7.2z\"/>\n",
" <text x=\"600\" y=\"660\" font-family=\"Helvetica\" font-size=\"220\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" alignment-baseline=\"middle\">\n",
" 13\n",
" 18\n",
" </text>\n",
"</svg>"
],
Expand All @@ -325,24 +325,26 @@
{
"data": {
"text/markdown": [
"> Here are the rolled stats:\n",
"> - Strength: 15\n",
"> - Perception: 11\n",
"> - Endurance: 9\n",
"> - Charisma: 17\n",
"> - Intelligence: 4\n",
"> - Agility: 17\n",
"> - Luck: 13"
"> Here are the results for your character's stats:\n",
"> \n",
"> - Strength: 6\n",
"> - Perception: 4\n",
"> - Endurance: 8\n",
"> - Charisma: 10\n",
"> - Intelligence: 10\n",
"> - Agility: 2\n",
"> - Luck: 18"
],
"text/plain": [
"> Here are the rolled stats:\n",
"> - Strength: 15\n",
"> - Perception: 11\n",
"> - Endurance: 9\n",
"> - Charisma: 17\n",
"> - Intelligence: 4\n",
"> - Agility: 17\n",
"> - Luck: 13"
"> Here are the results for your character's stats:\n",
"> \n",
"> - Strength: 6\n",
"> - Perception: 4\n",
"> - Endurance: 8\n",
"> - Charisma: 10\n",
"> - Intelligence: 10\n",
"> - Agility: 2\n",
"> - Luck: 18"
]
},
"metadata": {
Expand Down Expand Up @@ -376,6 +378,13 @@
" if(role == \"tool\"):\n",
" pass "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 83f80e2

Please sign in to comment.