PyAEDTApiIndex#
- class ansys.aedt.mcp.api_search.PyAEDTApiIndex(package_root: pathlib.Path | None = None)#
Lazily built, thread-safe BM25 index over the installed PyAEDT sources.
Overview#
Build the index on first use. |
|
Return public descendants of a class, concrete (leaf) classes first. |
|
Rank entries for a free-text, PyAEDT-name, or native-API query. |
|
Serialize an entry for the tool response. |
Import detail#
from ansys.aedt.mcp.api_search import PyAEDTApiIndex
Attribute detail#
- PyAEDTApiIndex.k1 = 1.4#
- PyAEDTApiIndex.b = 0.6#
Method detail#
- PyAEDTApiIndex.subclasses_of(class_name: str, limit: int = 8) list[str]#
Return public descendants of a class, concrete (leaf) classes first.