Index
BaseQuestionGenerator #
Bases: PromptMixin
, DispatcherSpanMixin
Source code in llama-index-core/llama_index/core/question_gen/types.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
SubQuestionList #
Bases: BaseModel
A pydantic object wrapping a list of sub-questions.
This is mostly used to make getting a json schema easier.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
items
|
List[SubQuestion]
|
|
required |
Source code in llama-index-core/llama_index/core/question_gen/types.py
16 17 18 19 20 21 22 |
|
SubQuestion #
Bases: BaseModel
Parameters:
Name | Type | Description | Default |
---|---|---|---|
sub_question
|
str
|
|
required |
tool_name
|
str
|
|
required |
Source code in llama-index-core/llama_index/core/question_gen/types.py
11 12 13 |
|