Skip to content

Commit

Permalink
search working
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyaspimpalgaonkar committed Oct 20, 2024
1 parent 40cbc09 commit a220ace
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion py/core/configs/full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ overlap = 256

[orchestration]
provider = "hatchet"
kg_creation_concurrency_limit = 32
kg_creation_concurrency_lipmit = 32
ingestion_concurrency_limit = 128
kg_enrichment_concurrency_limit = 8
2 changes: 0 additions & 2 deletions py/core/pipes/kg/deduplication_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ async def _run_logic(
entity_descriptions = (
await self.kg_provider.get_entities(
collection_id,
offset,
-1,
entity_names=entity_names,
entity_table_name="entity_embedding",
)
Expand Down
2 changes: 1 addition & 1 deletion py/core/providers/kg/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ async def vector_query(self, query: str, **kwargs: Any) -> Any:

table_name = ""
if search_type == "__Entity__":
table_name = "entity_embedding"
table_name = "entity_deduplicated"
elif search_type == "__Relationship__":
table_name = "triple_raw"
elif search_type == "__Community__":
Expand Down
2 changes: 1 addition & 1 deletion py/shared/abstractions/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class VectorTableName(str, Enum):

CHUNKS = "chunks"
ENTITIES = "entity_embedding"
ENTITY_DEDUPLICATED = "entity_deduplicated"
ENTITIES_DEDUPLICATED = "entity_deduplicated"
# TODO: Add support for triples
# TRIPLES = "triple_raw"
COMMUNITIES = "community_report"
Expand Down

0 comments on commit a220ace

Please sign in to comment.