From 211e7976115760aa2bab0ac3252e722761f7bc6d Mon Sep 17 00:00:00 2001 From: dhirup Date: Fri, 25 Jul 2025 13:36:31 -0700 Subject: [PATCH] Update coherence.ipynb --- .../integrations/vectorstores/coherence.ipynb | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/docs/docs/integrations/vectorstores/coherence.ipynb b/docs/docs/integrations/vectorstores/coherence.ipynb index e367a49ffe7..53b1451592b 100644 --- a/docs/docs/integrations/vectorstores/coherence.ipynb +++ b/docs/docs/integrations/vectorstores/coherence.ipynb @@ -1,8 +1,8 @@ { "cells": [ { - "cell_type": "markdown", - "id": "c92e2cb6-d75b-4321-bf73-69b07d244aa7", + "cell_type": "raw", + "id": "a33fe9a9-1e91-4e74-af40-e20e197c1294", "metadata": {}, "source": [ "# Coherence\n", @@ -13,8 +13,8 @@ ] }, { - "cell_type": "markdown", - "id": "77db1e62-622e-46c1-8f1d-4f32a42f22da", + "cell_type": "raw", + "id": "f83deacd-0838-4753-8e52-5137d9996ff6", "metadata": {}, "source": [ "## Setup\n", @@ -27,8 +27,8 @@ ] }, { - "cell_type": "markdown", - "id": "a266cffc-0407-4fd3-b905-f42b0770125c", + "cell_type": "raw", + "id": "e334767c-0770-4eab-ba05-0b0fa6034040", "metadata": {}, "source": [ "## Usage\n", @@ -36,7 +36,7 @@ "Before using LangChain's CoherenceVectorStore you must ensure that a Coherence server ([Coherence CE](https://github.com/oracle/coherence) 25.03+ or [Oracle Coherence](https://www.oracle.com/java/coherence/) 14.1.2+) is running \n", "\n", "For local development, we recommend using the Coherence CE container image:\n", - "```aiignore\n", + "```\n", "docker run -d -p 1408:1408 ghcr.io/oracle/coherence-ce:25.03.2\n", "```\n", "\n", @@ -44,9 +44,11 @@ ] }, { - "cell_type": "raw", - "id": "1e432d99-4750-48b6-a5f9-e8680f9832e9", + "cell_type": "code", + "execution_count": null, + "id": "d52c0187-f5c4-4c69-9052-0b8998945680", "metadata": {}, + "outputs": [], "source": [ "from langchain_core.documents import Document\n", "from langchain_core.embeddings import Embeddings\n", @@ -87,9 +89,11 @@ ] }, { - "cell_type": "markdown", - "id": "97e0d922-7208-46be-bade-71f56ce8c586", + "cell_type": "code", + "execution_count": null, + "id": "11328dac-633e-4155-8f19-95ef2bfa3d06", "metadata": {}, + "outputs": [], "source": [ "from langchain_core.documents import Document\n", "from langchain_core.embeddings import Embeddings\n", @@ -187,9 +191,11 @@ ] }, { - "cell_type": "raw", - "id": "9713d8bc-db9d-46e7-9fec-2613c2635ad7", + "cell_type": "code", + "execution_count": null, + "id": "dbb07be8-b13e-4bd5-a9ea-94603ff2a6e4", "metadata": {}, + "outputs": [], "source": [ "from langchain_core.documents import Document\n", "from langchain_core.embeddings import Embeddings\n",