Documentation
¶
Overview ¶
Package extraction provides entity and relationship extraction from text
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct {
Name string `json:"name"`
Type string `json:"type"`
Description string `json:"description"`
}
Entity represents a named entity extracted from text
type EntityExtractor ¶
EntityExtractor extracts entities from text using an LLM
func NewEntityExtractor ¶
func NewEntityExtractor(llmClient llm.LLMClient) *EntityExtractor
NewEntityExtractor creates a new entity extractor
type RelationExtractor ¶
RelationExtractor extracts relationships between entities from text using an LLM
func NewRelationExtractor ¶
func NewRelationExtractor(llmClient llm.LLMClient) *RelationExtractor
NewRelationExtractor creates a new relation extractor
Click to show internal directories.
Click to hide internal directories.