From ee26e3cfd3c364ef65ddfa4da377bb0d9a228ccd Mon Sep 17 00:00:00 2001 From: Pathway-Dev <72749368+Pathway-Dev@users.noreply.github.com> Date: Fri, 15 Nov 2024 06:42:07 +0100 Subject: [PATCH] Daily Pathway examples refresh Co-authored-by: Manul from Pathway GitOrigin-RevId: 4d643363e8e365dacb76927f7e05fc8fe892ca1e --- .../live_vector_indexing_pipeline.ipynb | 2 +- .../notebooks/showcases/multimodal-rag.ipynb | 2 +- .../tutorials/asynctransformer.ipynb | 110 +++++++++--------- 3 files changed, 57 insertions(+), 57 deletions(-) diff --git a/examples/notebooks/showcases/live_vector_indexing_pipeline.ipynb b/examples/notebooks/showcases/live_vector_indexing_pipeline.ipynb index b4d3aac3..8e4d5639 100644 --- a/examples/notebooks/showcases/live_vector_indexing_pipeline.ipynb +++ b/examples/notebooks/showcases/live_vector_indexing_pipeline.ipynb @@ -282,7 +282,7 @@ "### Langchain\n", "\n", "You can use a Pathway Vector Store in LangChain pipelines with `PathwayVectorClient`\n", - "and configure a `VectorStoreServer` using LangChain components. For more information see [our article](/developers/templates/langchain-integration) or [LangChain documentation](https://python.langchain.com/v0.1/docs/integrations/vectorstores/pathway/).\n" + "and configure a `VectorStoreServer` using LangChain components. For more information see [our article](/blog/langchain-integration) or [LangChain documentation](https://python.langchain.com/v0.1/docs/integrations/vectorstores/pathway/).\n" ] }, { diff --git a/examples/notebooks/showcases/multimodal-rag.ipynb b/examples/notebooks/showcases/multimodal-rag.ipynb index 502492e9..2f0edc11 100644 --- a/examples/notebooks/showcases/multimodal-rag.ipynb +++ b/examples/notebooks/showcases/multimodal-rag.ipynb @@ -187,7 +187,7 @@ "source": [ "## **What's the main difference between LlamaIndex and Pathway?**\n", "\n", - "Pathway offers an indexing solution that always provides the latest information to your LLM application: Pathway Vector Store preprocesses and indexes your data in real time, always giving up-to-date answers. LlamaIndex is a framework for writing LLM-enabled applications. Pathway and LlamaIndex are best [used together](/developers/templates/llamaindex-pathway). Pathway vector store is natively available in LlamaIndex." + "Pathway offers an indexing solution that always provides the latest information to your LLM application: Pathway Vector Store preprocesses and indexes your data in real time, always giving up-to-date answers. LlamaIndex is a framework for writing LLM-enabled applications. Pathway and LlamaIndex are best [used together](/blog/llamaindex-pathway). Pathway vector store is natively available in LlamaIndex." ] }, { diff --git a/examples/notebooks/tutorials/asynctransformer.ipynb b/examples/notebooks/tutorials/asynctransformer.ipynb index e80860e2..285cc8c7 100644 --- a/examples/notebooks/tutorials/asynctransformer.ipynb +++ b/examples/notebooks/tutorials/asynctransformer.ipynb @@ -162,11 +162,11 @@ "output_type": "stream", "text": [ " | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 3 | 1731562470734 | 1\n", - "^3CZ78B4... | 2 | 3 | 1731562470934 | 1\n", - "^YYY4HAB... | 6 | 7 | 1731562470934 | 1\n", - "^3HN31E1... | 6 | 7 | 1731562471336 | 1\n", - "^X1MXHYY... | 12 | 13 | 1731562471336 | 1\n" + "^Z3QWT29... | 2 | 3 | 1731648975792 | 1\n", + "^3CZ78B4... | 2 | 3 | 1731648975992 | 1\n", + "^YYY4HAB... | 6 | 7 | 1731648975992 | 1\n", + "^3HN31E1... | 6 | 7 | 1731648976394 | 1\n", + "^X1MXHYY... | 12 | 13 | 1731648976394 | 1\n" ] } ], @@ -410,12 +410,12 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562474654 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562474754 | -1\n", - "^Z3QWT29... | 2 | 3 | 4 | 1731562474754 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562474956 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562475156 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1731562475156 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1731648979724 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1731648979824 | -1\n", + "^Z3QWT29... | 2 | 3 | 4 | 1731648979824 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648980026 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648980226 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1731648980226 | 1\n" ] } ], @@ -537,18 +537,18 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562475402 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562475402 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562475702 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562475702 | -1\n", - "^Z3QWT29... | 2 | 4 | 5 | 1731562475702 | 1\n", - "^3HN31E1... | 4 | 2 | 3 | 1731562475702 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562475802 | 1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1731562475802 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562475902 | -1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1731562475902 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1731562475902 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1731562475902 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1731648980480 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648980480 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1731648980780 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648980780 | -1\n", + "^Z3QWT29... | 2 | 4 | 5 | 1731648980780 | 1\n", + "^3HN31E1... | 4 | 2 | 3 | 1731648980780 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648980880 | 1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1731648980880 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648980980 | -1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1731648980980 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1731648980980 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1731648980980 | 1\n" ] } ], @@ -581,16 +581,16 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562476036 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1731562476136 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562476238 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562476336 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562476336 | -1\n", - "^Z3QWT29... | 2 | 4 | 5 | 1731562476336 | 1\n", - "^3HN31E1... | 4 | 2 | 3 | 1731562476336 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562476438 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562476536 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1731562476536 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1731648981130 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1731648981230 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648981332 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1731648981432 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648981432 | -1\n", + "^Z3QWT29... | 2 | 4 | 5 | 1731648981432 | 1\n", + "^3HN31E1... | 4 | 2 | 3 | 1731648981432 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648981532 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648981632 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1731648981632 | 1\n" ] } ], @@ -633,18 +633,18 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562476656 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562476656 | 1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1731562476656 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562476656 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562477158 | -1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562477158 | -1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1731562477158 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562477158 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1731562477158 | 1\n", - "^Z3QWT29... | 2 | 4 | 5 | 1731562477158 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1731562477158 | 1\n", - "^3HN31E1... | 4 | 2 | 3 | 1731562477158 | 1\n" + "^YYY4HAB... | 1 | 5 | 6 | 1731648981728 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1731648981728 | 1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1731648981728 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648981728 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648982228 | -1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1731648982228 | -1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1731648982228 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648982228 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1731648982228 | 1\n", + "^Z3QWT29... | 2 | 4 | 5 | 1731648982228 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1731648982228 | 1\n", + "^3HN31E1... | 4 | 2 | 3 | 1731648982228 | 1\n" ] } ], @@ -688,16 +688,16 @@ "output_type": "stream", "text": [ " | group | value | ret | __time__ | __diff__\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562477288 | 1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562477288 | 1\n", - "^Z3QWT29... | 2 | 1 | 2 | 1731562477588 | -1\n", - "^3HN31E1... | 4 | 3 | 4 | 1731562477588 | -1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562477688 | 1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1731562477688 | 1\n", - "^YYY4HAB... | 1 | 5 | 6 | 1731562477788 | -1\n", - "^3CZ78B4... | 3 | 1 | 2 | 1731562477788 | -1\n", - "^YYY4HAB... | 1 | 2 | 3 | 1731562477788 | 1\n", - "^3CZ78B4... | 3 | 2 | 3 | 1731562477788 | 1\n" + "^Z3QWT29... | 2 | 1 | 2 | 1731648982354 | 1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648982354 | 1\n", + "^Z3QWT29... | 2 | 1 | 2 | 1731648982654 | -1\n", + "^3HN31E1... | 4 | 3 | 4 | 1731648982654 | -1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648982754 | 1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1731648982754 | 1\n", + "^YYY4HAB... | 1 | 5 | 6 | 1731648982854 | -1\n", + "^3CZ78B4... | 3 | 1 | 2 | 1731648982854 | -1\n", + "^YYY4HAB... | 1 | 2 | 3 | 1731648982854 | 1\n", + "^3CZ78B4... | 3 | 2 | 3 | 1731648982854 | 1\n" ] } ],