Select info
labridge.interact.collect.types.select_info
¶
labridge.interact.collect.types.select_info.CollectingSelectInfo
¶
Bases: CollectingInfoBase
This class defines the select information to be collected from the user. The select information should be selected between several given choices.
PARAMETER | DESCRIPTION |
---|---|
info_name |
The name of the information to be collected.
TYPE:
|
info_description |
The description of the information to be collected.
TYPE:
|
choices |
The given choices.
TYPE:
|
Source code in labridge\interact\collect\types\select_info.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
|
labridge.interact.collect.types.select_info.CollectingSelectInfo.candidates: List[str]
property
¶
Get the candidates
labridge.interact.collect.types.select_info.CollectingSelectInfo.info_content()
¶
Yield the information name, description and corresponding choices to the LLM for selection.
Source code in labridge\interact\collect\types\select_info.py
82 83 84 85 86 87 88 89 90 91 92 |
|
labridge.interact.collect.types.select_info.CollectingSelectInfo.modify_info_content()
¶
Yield the information name, description, collected content and corresponding choices to the LLM for modification.
Source code in labridge\interact\collect\types\select_info.py
94 95 96 97 98 99 100 101 102 103 104 |
|
labridge.interact.collect.types.select_info.CollectingSelectInfo.update_collected_info(collected_info_dict)
¶
Update the collected information.
Source code in labridge\interact\collect\types\select_info.py
52 53 54 55 |
|