Keyword
LlamaIndex data structures.
KeywordTableIndex #
Bases: BaseKeywordTableIndex
Keyword Table Index.
This index uses a GPT model to extract keywords from the text.
Source code in llama-index-core/llama_index/core/indices/keyword_table/base.py
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
|
SimpleKeywordTableIndex #
Bases: BaseKeywordTableIndex
Simple Keyword Table Index.
This index uses a simple regex extractor to extract keywords from the text.
Source code in llama-index-core/llama_index/core/indices/keyword_table/simple_base.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
RAKEKeywordTableIndex #
Bases: BaseKeywordTableIndex
RAKE Keyword Table Index.
This index uses a RAKE keyword extractor to extract keywords from the text.
Source code in llama-index-core/llama_index/core/indices/keyword_table/rake_base.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|