diff --git a/examples/langchain_tooluse.ipynb b/examples/langchain_tooluse.ipynb index 0efc608..de91bce 100644 --- a/examples/langchain_tooluse.ipynb +++ b/examples/langchain_tooluse.ipynb @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "e21c6728", "metadata": {}, "outputs": [], @@ -65,7 +65,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 2, "id": "07e49b98-9d6c-41f2-9b18-f043f2d13e1a", "metadata": {}, "outputs": [], @@ -124,7 +124,7 @@ " 'parameters': [{\n", " \"name\": \"query\",\n", " \"type\": \"string\",\n", - " \"description\": \"search query of Wolfram Alpha\",\n", + " \"description\": \"the problem to solved by Wolfram Alpha\",\n", " 'required': True\n", " }], \n", " 'tool_api': tool_wrapper_for_qwen(WolframAlpha)\n", @@ -273,6 +273,39 @@ "id": "f71b2577-118c-4ce2-a0ed-a45ec59ea35b", "metadata": {}, "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "A new version of the following files was downloaded from https://huggingface.co/Qwen/Qwen-7B-Chat:\n", + "- tokenization_qwen.py\n", + ". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n", + "A new version of the following files was downloaded from https://huggingface.co/Qwen/Qwen-7B-Chat:\n", + "- configuration_qwen.py\n", + ". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n", + "A new version of the following files was downloaded from https://huggingface.co/Qwen/Qwen-7B-Chat:\n", + "- qwen_generation_utils.py\n", + ". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n", + "A new version of the following files was downloaded from https://huggingface.co/Qwen/Qwen-7B-Chat:\n", + "- modeling_qwen.py\n", + "- qwen_generation_utils.py\n", + ". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n" + ] + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "23435445dded44d6951aa6a7b771a963", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Downloading shards: 0%| | 0/8 [00:00