diff --git a/docs/docs/tutorials/classification.ipynb b/docs/docs/tutorials/classification.ipynb index 85ac988edd9..c0540718d4b 100644 --- a/docs/docs/tutorials/classification.ipynb +++ b/docs/docs/tutorials/classification.ipynb @@ -49,7 +49,7 @@ "metadata": {}, "outputs": [], "source": [ - "pip install --upgrade --quiet langchain-core" + "pip install -U langchain-core" ] }, { @@ -89,7 +89,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "39f3ce3e", "metadata": {}, "outputs": [], @@ -124,7 +124,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "5509b6a6", "metadata": {}, "outputs": [ @@ -134,7 +134,7 @@ "Classification(sentiment='positive', aggressiveness=1, language='Spanish')" ] }, - "execution_count": 8, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -157,17 +157,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "9154474c", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "{'sentiment': 'enojado', 'aggressiveness': 8, 'language': 'es'}" + "{'sentiment': 'angry', 'aggressiveness': 8, 'language': 'Spanish'}" ] }, - "execution_count": 10, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -218,7 +218,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 5, "id": "6a5f7961", "metadata": {}, "outputs": [], @@ -237,7 +237,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 6, "id": "e5a5881f", "metadata": {}, "outputs": [], @@ -268,17 +268,17 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 7, "id": "d9b9d53d", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "Classification(sentiment='positive', aggressiveness=1, language='Spanish')" + "Classification(sentiment='happy', aggressiveness=1, language='spanish')" ] }, - "execution_count": 12, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -291,17 +291,17 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 8, "id": "1c12fa00", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "Classification(sentiment='enojado', aggressiveness=8, language='es')" + "Classification(sentiment='sad', aggressiveness=4, language='spanish')" ] }, - "execution_count": 13, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -314,17 +314,17 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 9, "id": "0bdfcb05", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "Classification(sentiment='neutral', aggressiveness=1, language='English')" + "Classification(sentiment='happy', aggressiveness=1, language='english')" ] }, - "execution_count": 14, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -359,7 +359,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "langchain-monorepo", "language": "python", "name": "python3" }, @@ -373,7 +373,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.4" + "version": "3.12.11" } }, "nbformat": 4,