UserSimCRS
0.0.1
Contents:
Installation
Usage
Interaction model
Main Components
Setting up a user simulator
API Reference
UserSimCRS
Index
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
A
add_item() (usersimcrs.items.item_collection.ItemCollection method)
add_user_item_rating() (usersimcrs.items.ratings.Ratings method)
agenda
module
Agenda (class in agenda)
agenda_based_simulator
module
AgendaBasedSimulator (class in agenda_based_simulator)
agent_dialogue_acts (usersimcrs.dialogue_management.dialogue_state.DialogueState attribute)
,
[1]
annotation_converter_rasa
module
args (in module usersimcrs.run_simulation)
B
belief_state (usersimcrs.dialogue_management.dialogue_state.DialogueState attribute)
,
[1]
build_input_vector() (core.feature_handler.FeatureHandler method)
(tus_feature_handler.TUSFeatureHandler method)
build_new_prompt() (prompt.Prompt method)
(stop_prompt.StopPrompt method)
(utterance_generation_prompt.UtteranceGenerationPrompt method)
C
characteristics (persona.Persona attribute)
clean_agenda() (agenda.Agenda method)
close() (usersimcrs.items.item_collection.ItemCollection method)
connect() (usersimcrs.items.item_collection.ItemCollection method)
(usersimcrs.simulation_platform.SimulationPlatform method)
context_model
module
ContextModel (class in context_model)
core
module
core.feature_handler
module
core.transformer
module
create_split() (usersimcrs.items.ratings.Ratings method)
D
DEFAULT_CONFIG_PATH (in module usersimcrs.run_simulation)
DEFAULT_STOP_DEFINITION (in module stop_prompt)
DEFAULT_TASK_DEFINITION (in module utterance_generation_prompt)
DialogueState (class in usersimcrs.dialogue_management.dialogue_state)
DialogueStateTracker (class in usersimcrs.dialogue_management.dialogue_state_tracker)
display_agent_utterance() (usersimcrs.simulation_platform.SimulationPlatform method)
display_user_utterance() (usersimcrs.simulation_platform.SimulationPlatform method)
DualPromptUserSimulator (class in usersimcrs.simulator.llm.dual_prompt_user_simulator)
E
exists() (usersimcrs.items.item_collection.ItemCollection method)
extract_dialogue_acts() (lm_dialogue_act_extractor.LMDialogueActsExtractor method)
F
FeatureHandler (class in core.feature_handler)
FeatureMask (in module core.feature_handler)
FeatureVector (in module core.feature_handler)
filter_invalid_dialogue_acts() (lm_dialogue_act_extractor.LMDialogueActsExtractor method)
forward() (core.transformer.PositionalEncoding method)
(core.transformer.TransformerEncoderModel method)
from_dict() (usersimcrs.core.information_need.InformationNeed class method)
G
generate_random_information_need() (in module usersimcrs.core.information_need)
generate_response() (agenda_based_simulator.AgendaBasedSimulator method)
generate_utterance() (llm_interface.LLMInterface method)
(ollama_interface.OllamaLLMInterface method)
(openai_interface.OpenAILLMInterface method)
generate_utterance_text() (nlg_generative_lm.LMGenerativeNLG method)
get_agent_action_feature() (tus_feature_handler.TUSFeatureHandler method)
get_agent_information() (in module simulation_utils)
get_basic_information_feature() (tus_feature_handler.TUSFeatureHandler method)
get_constraint_value() (usersimcrs.core.information_need.InformationNeed method)
get_current_state() (usersimcrs.dialogue_management.dialogue_state_tracker.DialogueStateTracker method)
get_informable_slots() (usersimcrs.core.simulation_domain.SimulationDomain method)
get_item() (usersimcrs.items.item_collection.ItemCollection method)
get_item_preference() (pkg_preference_model.PKGPreferenceModel method)
(preference_model.PreferenceModel method)
(simple_preference_model.SimplePreferenceModel method)
get_item_ratings() (usersimcrs.items.ratings.Ratings method)
get_items_by_properties() (usersimcrs.items.item_collection.ItemCollection method)
get_label_vector() (tus_feature_handler.TUSFeatureHandler method)
get_llm_api_response() (llm_interface.LLMInterface method)
(ollama_interface.OllamaLLMInterface method)
(openai_interface.OpenAILLMInterface method)
get_new_information_need() (usersimcrs.simulator.user_simulator.UserSimulator method)
get_next_dialogue_acts() (agenda.Agenda method)
(interaction_model.InteractionModel method)
get_NLU() (in module simulation_utils)
get_possible_property_values() (usersimcrs.items.item_collection.ItemCollection method)
get_property() (usersimcrs.items.item.Item method)
get_random_item() (usersimcrs.items.item_collection.ItemCollection method)
get_random_user_id() (usersimcrs.items.ratings.Ratings method)
get_requestable_slots() (usersimcrs.core.information_need.InformationNeed method)
(usersimcrs.core.simulation_domain.SimulationDomain method)
get_simulator_information() (in module simulation_utils)
get_slot_feature_vector() (tus_feature_handler.TUSFeatureHandler method)
get_slot_index_feature() (tus_feature_handler.TUSFeatureHandler method)
get_slot_preference() (preference_model.PreferenceModel method)
get_slot_value_preference() (pkg_preference_model.PKGPreferenceModel method)
(preference_model.PreferenceModel method)
(simple_preference_model.SimplePreferenceModel method)
get_turn_feature_vectors() (tus_feature_handler.TUSFeatureHandler method)
get_user_item_rating() (usersimcrs.items.ratings.Ratings method)
get_user_ratings() (usersimcrs.items.ratings.Ratings method)
I
id (usersimcrs.items.item.Item property)
InformationNeed (class in usersimcrs.core.information_need)
init_weights() (core.transformer.TransformerEncoderModel method)
initialize_agenda() (interaction_model.InteractionModel method)
initialize_transition_matrices() (interaction_model.InteractionModel method)
interaction_model
module
InteractionModel (class in interaction_model)
is_agent_intent_elicit() (interaction_model.InteractionModel method)
is_agent_intent_inquire() (interaction_model.InteractionModel method)
is_agent_intent_set_retrieval() (interaction_model.InteractionModel method)
is_item_consumed() (preference_model.PreferenceModel method)
Item (class in usersimcrs.items.item)
ItemCollection (class in usersimcrs.items.item_collection)
K
KEY_ITEM_ID (in module preference_model)
L
llm_interface
module
LLMInterface (class in llm_interface)
lm_dialogue_act_extractor
module
LMDialogueActsExtractor (class in lm_dialogue_act_extractor)
LMGenerativeNLG (class in nlg_generative_lm)
load() (lm_dialogue_act_extractor.LMDialogueActsExtractor class method)
load_config() (in module usersimcrs.run_simulation)
load_handler() (tus_feature_handler.TUSFeatureHandler class method)
load_items_csv() (usersimcrs.items.item_collection.ItemCollection method)
load_preference_model() (preference_model.PreferenceModel class method)
load_ratings_csv() (usersimcrs.items.ratings.Ratings method)
logger (in module interaction_model)
(in module usersimcrs.items.ratings)
(in module usersimcrs.run_simulation)
M
main() (in module usersimcrs.run_simulation)
map_path_to_class() (in module simulation_utils)
MappingConfig (in module usersimcrs.items.item_collection)
module
agenda
agenda_based_simulator
annotation_converter_rasa
context_model
core
core.feature_handler
core.transformer
interaction_model
llm_interface
lm_dialogue_act_extractor
nlg_generative_lm
ollama_interface
openai_interface
persona
pkg_preference_model
preference_model
prompt
simple_preference_model
simulation_utils
stop_prompt
tus_feature_handler
usersimcrs
usersimcrs.core
usersimcrs.core.information_need
usersimcrs.core.simulation_domain
usersimcrs.dialogue_management
usersimcrs.dialogue_management.dialogue_state
usersimcrs.dialogue_management.dialogue_state_tracker
usersimcrs.items
usersimcrs.items.item
usersimcrs.items.item_collection
usersimcrs.items.ratings
usersimcrs.run_simulation
usersimcrs.simulation_platform
usersimcrs.simulator
usersimcrs.simulator.llm
usersimcrs.simulator.llm.dual_prompt_user_simulator
usersimcrs.simulator.llm.simple_prompt_user_simulator
usersimcrs.simulator.user_simulator
utterance_generation_prompt
N
nlg_generative_lm
module
num_items() (usersimcrs.items.item_collection.ItemCollection method)
O
ollama_interface
module
OllamaLLMInterface (class in ollama_interface)
openai_interface
module
OpenAILLMInterface (class in openai_interface)
OUTPUT_DIR (in module usersimcrs.run_simulation)
P
parse_args() (in module usersimcrs.run_simulation)
parser (in module annotation_converter_rasa)
persona
module
Persona (class in persona)
pkg_preference_model
module
PKGPreferenceModel (class in pkg_preference_model)
PositionalEncoding (class in core.transformer)
preference_model
module
PREFERENCE_THRESHOLD (preference_model.PreferenceModel attribute)
PreferenceModel (class in preference_model)
prompt
module
Prompt (class in prompt)
prompt_text (prompt.Prompt property)
(stop_prompt.StopPrompt property)
properties (usersimcrs.items.item.Item property)
push_dialogue_act() (agenda.Agenda method)
push_dialogue_acts() (agenda.Agenda method)
R
Ratings (class in usersimcrs.items.ratings)
receive_utterance() (usersimcrs.simulator.user_simulator.UserSimulator method)
REQUIRED_INTENTS (interaction_model.InteractionModel attribute)
reset() (tus_feature_handler.TUSFeatureHandler method)
reset_state() (usersimcrs.dialogue_management.dialogue_state_tracker.DialogueStateTracker method)
reset_user_feature_history() (tus_feature_handler.TUSFeatureHandler method)
S
sample_context() (context_model.ContextModel method)
save() (lm_dialogue_act_extractor.LMDialogueActsExtractor method)
save_handler() (tus_feature_handler.TUSFeatureHandler method)
save_preference_model() (preference_model.PreferenceModel method)
set_property() (usersimcrs.items.item.Item method)
simple_preference_model
module
SimplePreferenceModel (class in simple_preference_model)
simulation_utils
module
SimulationDomain (class in usersimcrs.core.simulation_domain)
SimulationPlatform (class in usersimcrs.simulation_platform)
SinglePromptUserSimulator (class in usersimcrs.simulator.llm.simple_prompt_user_simulator)
SQL_DELIMITER (in module usersimcrs.items.item_collection)
stack (agenda.Agenda property)
start() (usersimcrs.simulation_platform.SimulationPlatform method)
stop_prompt
module
StopPrompt (class in stop_prompt)
T
to_dict() (usersimcrs.core.information_need.InformationNeed method)
train_cosine_classifier() (in module simulation_utils)
train_rasa_diet_classifier() (in module simulation_utils)
TransformerEncoderModel (class in core.transformer)
tus_feature_handler
module
TUSFeatureHandler (class in tus_feature_handler)
U
update_action_slots() (tus_feature_handler.TUSFeatureHandler method)
update_agenda() (interaction_model.InteractionModel method)
update_belief_state() (usersimcrs.dialogue_management.dialogue_state_tracker.DialogueStateTracker method)
update_prompt_context() (prompt.Prompt method)
(utterance_generation_prompt.UtteranceGenerationPrompt method)
update_state() (usersimcrs.dialogue_management.dialogue_state_tracker.DialogueStateTracker method)
user_dialogue_acts (usersimcrs.dialogue_management.dialogue_state.DialogueState attribute)
,
[1]
user_item_sampler() (in module usersimcrs.items.ratings)
usersimcrs
module
usersimcrs.core
module
usersimcrs.core.information_need
module
usersimcrs.core.simulation_domain
module
usersimcrs.dialogue_management
module
usersimcrs.dialogue_management.dialogue_state
module
usersimcrs.dialogue_management.dialogue_state_tracker
module
usersimcrs.items
module
usersimcrs.items.item
module
usersimcrs.items.item_collection
module
usersimcrs.items.ratings
module
usersimcrs.run_simulation
module
usersimcrs.simulation_platform
module
usersimcrs.simulator
module
usersimcrs.simulator.llm
module
usersimcrs.simulator.llm.dual_prompt_user_simulator
module
usersimcrs.simulator.llm.simple_prompt_user_simulator
module
usersimcrs.simulator.user_simulator
module
UserSimulator (class in usersimcrs.simulator.user_simulator)
utterance_count (usersimcrs.dialogue_management.dialogue_state.DialogueState attribute)
,
[1]
utterance_generation_prompt
module
UtteranceGenerationPrompt (class in utterance_generation_prompt)