Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatText ¶
func SummaryText ¶
Types ¶
type Definition ¶
type TopicEntity ¶
type TopicEntity struct {
Key string `json:"key"`
Name string `json:"name"`
Kind string `json:"kind"`
NotePath string `json:"note_path"`
CanonicalURL string `json:"canonical_url,omitempty"`
ReferenceCount int `json:"reference_count"`
MatchedReferences int `json:"matched_references"`
MatchedSourceKeys []string `json:"matched_source_keys,omitempty"`
}
type TopicMap ¶
type TopicMap struct {
Topic string `json:"topic"`
SourceTypes []string `json:"source_types,omitempty"`
SeedLimit int `json:"seed_limit"`
RelatedLimit int `json:"related_limit"`
Entities []TopicEntity `json:"entities,omitempty"`
Pivots TopicPivots `json:"pivots,omitempty"`
Synthesis TopicSynthesis `json:"synthesis,omitempty"`
Nodes []TopicMapNode `json:"nodes"`
Edges []TopicMapEdge `json:"edges"`
}
func FromDefinition ¶
type TopicMapEdge ¶
type TopicMapNode ¶
type TopicPivots ¶
type TopicPivots struct {
Projects []TopicEntity `json:"projects,omitempty"`
Orgs []TopicEntity `json:"orgs,omitempty"`
Sites []TopicEntity `json:"sites,omitempty"`
People []TopicEntity `json:"people,omitempty"`
SeedNodes []TopicMapNode `json:"seed_nodes,omitempty"`
RelatedNodes []TopicMapNode `json:"related_nodes,omitempty"`
}
type TopicSignal ¶
type TopicSynthesis ¶
type TopicSynthesis struct {
Overview string `json:"overview,omitempty"`
Angles []string `json:"angles,omitempty"`
Signals []TopicSignal `json:"signals,omitempty"`
OpenQuestions []string `json:"open_questions,omitempty"`
WhyItMatters string `json:"why_it_matters,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.