mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 09:07:20 +08:00
* Move text_embed to verb-less operation * Move embed_graph to verb-less operation * Return embeddings from embed_graph instead of modifying df * Semver * Use config existence instead of bool for graph embedding * Send clustering strategy directly
13 lines
315 B
Python
13 lines
315 B
Python
# Copyright (c) 2024 Microsoft Corporation.
|
|
# Licensed under the MIT License
|
|
|
|
"""A module containing different lists and dictionaries."""
|
|
|
|
# Use this for now instead of a wrapper
|
|
from typing import Any
|
|
|
|
NodeList = list[str]
|
|
EmbeddingList = list[Any]
|
|
NodeEmbeddings = dict[str, list[float]]
|
|
"""Label -> Embedding"""
|