Ragex.Embeddings.TextGenerator
(Ragex v0.11.0)
View Source
Generates embeddable text descriptions from code entities.
Converts modules, functions, and other code entities into natural language descriptions suitable for embedding generation and semantic search.
Functions enriched with MetaAST metadata (from Ragex.Analyzers.Metastatic)
include additional semantic context in their text:
async: true-- annotated as "async function"is_macro: true-- annotated as "macro"decorators: [...]-- decorator names listedguards: ...-- annotated as "with guards"type_annotations: [...]-- type information listed
Summary
Functions
Generates text for a call relationship.
Generates text description for a function.
Generates text description for a function with its body/implementation.
Generates text for an import relationship.
Generates text description for a module.
Functions
Generates text for a call relationship.
Describes which function calls which other function.
Generates text description for a function.
Includes function signature, module context, documentation, visibility, and any MetaAST semantic metadata (async, macro, guards, decorators, annotations).
Generates text description for a function with its body/implementation.
Includes signature and code snippet for more detailed semantic search.
Generates text for an import relationship.
Describes which module imports which other module.
Generates text description for a module.
Includes module name, documentation, and metadata.