From 360dfca166f9f03e33f637ed07168475c9b026cd Mon Sep 17 00:00:00 2001 From: AlonsoGuevara Date: Tue, 10 Dec 2024 20:25:04 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20microsof?= =?UTF-8?q?t/graphrag@61816e076ffb9cee2974a47a28911102290f0d6b=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples_notebooks/drift_search/index.html | 375 +-- examples_notebooks/global_search/index.html | 578 +--- .../index.html | 537 +--- examples_notebooks/index_migration/index.html | 2503 +++++++++++++++++ examples_notebooks/local_search/index.html | 758 ++--- sitemap.xml.gz | Bin 127 -> 127 bytes 6 files changed, 3002 insertions(+), 1749 deletions(-) create mode 100644 examples_notebooks/index_migration/index.html diff --git a/examples_notebooks/drift_search/index.html b/examples_notebooks/drift_search/index.html index 970b9b65..f3d34f90 100644 --- a/examples_notebooks/drift_search/index.html +++ b/examples_notebooks/drift_search/index.html @@ -1874,9 +1874,6 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: read_indexer_reports, read_indexer_text_units, ) -from graphrag.query.input.loaders.dfs import ( - store_entity_semantic_embeddings, -) from graphrag.query.llm.oai.chat_openai import ChatOpenAI from graphrag.query.llm.oai.embedding import OpenAIEmbedding from graphrag.query.llm.oai.typing import OpenaiApiType @@ -1910,9 +1907,6 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: collection_name="default-entity-description", ) description_embedding_store.connect(db_uri=LANCEDB_URI) -entity_description_embeddings = store_entity_semantic_embeddings( - entities=entities, vectorstore=description_embedding_store -) print(f"Entity count: {len(entity_df)}") entity_df.head() @@ -1941,9 +1935,6 @@ from graphrag.query.indexer_adapters import ( read_indexer_reports, read_indexer_text_units, ) -from graphrag.query.input.loaders.dfs import ( - store_entity_semantic_embeddings, -) from graphrag.query.llm.oai.chat_openai import ChatOpenAI from graphrag.query.llm.oai.embedding import OpenAIEmbedding from graphrag.query.llm.oai.typing import OpenaiApiType @@ -1977,9 +1968,6 @@ description_embedding_store = LanceDBVectorStore( collection_name="default-entity-description", ) description_embedding_store.connect(db_uri=LANCEDB_URI) -entity_description_embeddings = store_entity_semantic_embeddings( - entities=entities, vectorstore=description_embedding_store -) print(f"Entity count: {len(entity_df)}") entity_df.head() @@ -2005,104 +1993,70 @@ text_unit_df.head()
- -
@@ -2175,8 +2129,8 @@ text_embedder = OpenAIEmbedding( -
-
diff --git a/examples_notebooks/global_search/index.html b/examples_notebooks/global_search/index.html index 816e8d01..8f8ae714 100644 --- a/examples_notebooks/global_search/index.html +++ b/examples_notebooks/global_search/index.html @@ -2244,114 +2244,38 @@ report_df.head()
-
@@ -2368,8 +2292,8 @@ Report count after filtering by community level 2: 17 -
- +
@@ -2487,8 +2434,8 @@ reduce_llm_params = {
-
- +
- -
@@ -2796,174 +2603,17 @@ result.context_data["reports"]
-
@@ -3007,9 +2657,17 @@ print(
diff --git a/examples_notebooks/global_search_with_dynamic_community_selection/index.html b/examples_notebooks/global_search_with_dynamic_community_selection/index.html index 0b15e14c..4ae51a13 100644 --- a/examples_notebooks/global_search_with_dynamic_community_selection/index.html +++ b/examples_notebooks/global_search_with_dynamic_community_selection/index.html @@ -2152,138 +2152,38 @@ report_df.head()
- -
@@ -2302,8 +2202,8 @@ See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stab -
- +
@@ -2447,8 +2382,8 @@ reduce_llm_params = {
-
- +
diff --git a/examples_notebooks/index_migration/index.html b/examples_notebooks/index_migration/index.html new file mode 100644 index 00000000..88788215 --- /dev/null +++ b/examples_notebooks/index_migration/index.html @@ -0,0 +1,2503 @@ + + + + + + + + + + + + + + + + + + + Index migration - GraphRAG + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + +
+ + +
+ +
+ + + + + + + + + +
+
+ + + +
+
+
+ + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Index migration

+ + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/examples_notebooks/local_search/index.html b/examples_notebooks/local_search/index.html index fa767baa..76c31a45 100644 --- a/examples_notebooks/local_search/index.html +++ b/examples_notebooks/local_search/index.html @@ -2168,9 +2168,6 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: read_indexer_reports, read_indexer_text_units, ) -from graphrag.query.input.loaders.dfs import ( - store_entity_semantic_embeddings, -) from graphrag.query.llm.oai.chat_openai import ChatOpenAI from graphrag.query.llm.oai.embedding import OpenAIEmbedding from graphrag.query.llm.oai.typing import OpenaiApiType @@ -2194,9 +2191,6 @@ from graphrag.query.indexer_adapters import ( read_indexer_reports, read_indexer_text_units, ) -from graphrag.query.input.loaders.dfs import ( - store_entity_semantic_embeddings, -) from graphrag.query.llm.oai.chat_openai import ChatOpenAI from graphrag.query.llm.oai.embedding import OpenAIEmbedding from graphrag.query.llm.oai.typing import OpenaiApiType @@ -2333,9 +2327,6 @@ COMMUNITY_LEVEL = 2 collection_name="default-entity-description", ) description_embedding_store.connect(db_uri=LANCEDB_URI) -entity_description_embeddings = store_entity_semantic_embeddings( - entities=entities, vectorstore=description_embedding_store -) print(f"Entity count: {len(entity_df)}") entity_df.head() @@ -2352,9 +2343,6 @@ description_embedding_store = LanceDBVectorStore( collection_name="default-entity-description", ) description_embedding_store.connect(db_uri=LANCEDB_URI) -entity_description_embeddings = store_entity_semantic_embeddings( - entities=entities, vectorstore=description_embedding_store -) print(f"Entity count: {len(entity_df)}") entity_df.head() @@ -2368,137 +2356,70 @@ entity_df.head()
-
@@ -2555,113 +2476,58 @@ relationship_df.head()
-
@@ -3107,8 +2973,8 @@ text_embedder = OpenAIEmbedding( -
- +
@@ -3262,8 +3157,8 @@ llm_params = {
-
- +
@@ -3348,111 +3268,15 @@ print(result.response)
-
@@ -3494,112 +3318,16 @@ print(result.response)
-
@@ -3869,8 +3597,8 @@ Cell In[19], line 1 -
- +
diff --git a/sitemap.xml.gz b/sitemap.xml.gz index a68f3b8c4a05a7e574998138f94f3ed4347aa8f3..b42227d6130227675e66d5447b6df9ce48884fdc 100644 GIT binary patch delta 13 Ucmb=gXP58h;Am(GpU7ST033S+D*ylh delta 13 Ucmb=gXP58h;ApT5n#f)O02>Jd-~a#s