索引
BaseQuestionGenerator #
基类: PromptMixin
, DispatcherSpanMixin
源代码位于 llama-index-core/llama_index/core/question_gen/types.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
SubQuestionList #
基类: BaseModel
一个包装子问题列表的 pydantic 对象。
这主要用于更方便地获取 json schema。
参数
名称 | 类型 | 描述 | 默认值 |
---|---|---|---|
items
|
列表[SubQuestion]
|
|
必需 |
源代码位于 llama-index-core/llama_index/core/question_gen/types.py
16 17 18 19 20 21 22 23 |
|
SubQuestion #
基类: BaseModel
参数
名称 | 类型 | 描述 | 默认值 |
---|---|---|---|
sub_question
|
str
|
|
必需 |
tool_name
|
str
|
|
必需 |
源代码位于 llama-index-core/llama_index/core/question_gen/types.py
11 12 13 |
|