API Reference¶
- diva.gui package
- diva.data package
- diva.graphs package
- Submodules
- diva.graphs.graph_generator module
GraphTexts
IGraphGenerator
IGraphGenerator.NB_PARAM_ELM
IGraphGenerator.aggreg_type
IGraphGenerator.climate_variable
IGraphGenerator.comparison_loc
IGraphGenerator.comparison_time
IGraphGenerator.context
IGraphGenerator.cross_tenses
IGraphGenerator.data
IGraphGenerator.delta_time
IGraphGenerator.delta_time_multi
IGraphGenerator.endtime
IGraphGenerator.generate()
IGraphGenerator.get_collection()
IGraphGenerator.graph_context
IGraphGenerator.graph_type
IGraphGenerator.heatmap_not_supported
IGraphGenerator.initialise_data_collection()
IGraphGenerator.langage
IGraphGenerator.list_not_found_loc
IGraphGenerator.location
IGraphGenerator.out_of_bounds
IGraphGenerator.params
IGraphGenerator.params_after_processing
IGraphGenerator.process_params()
IGraphGenerator.shapefile_europe
IGraphGenerator.shapefile_europe_cities
IGraphGenerator.starttime
IGraphGenerator.time_out_of_bounds
- diva.graphs.service_graph_generation module
ServiceGeneratePlotlyGraph
ServiceGeneratePlotlyGraph.add_tense_data()
ServiceGeneratePlotlyGraph.checks()
ServiceGeneratePlotlyGraph.colors
ServiceGeneratePlotlyGraph.colors_gray
ServiceGeneratePlotlyGraph.compute_diff_ref()
ServiceGeneratePlotlyGraph.generate()
ServiceGeneratePlotlyGraph.generate_barplot()
ServiceGeneratePlotlyGraph.generate_boxplot()
ServiceGeneratePlotlyGraph.generate_distribution()
ServiceGeneratePlotlyGraph.generate_lineplot()
ServiceGeneratePlotlyGraph.generate_lineplot_mean()
ServiceGeneratePlotlyGraph.generate_map()
ServiceGeneratePlotlyGraph.generate_rainbow()
ServiceGeneratePlotlyGraph.generate_warming_stripes()
ServiceGeneratePlotlyGraph.get_data_source()
ServiceGeneratePlotlyGraph.get_interp_colors_anomaly()
ServiceGeneratePlotlyGraph.get_mean_val_on_ref_period()
ServiceGeneratePlotlyGraph.get_xy_pos_note_under_graph()
ServiceGeneratePlotlyGraph.graph_elm_for_translate()
ServiceGeneratePlotlyGraph.matching_case()
- Module contents
- diva.llm package
- diva.chat package
- Submodules
- diva.chat.interface_chatbot_scopes module
- diva.chat.interface_classification module
- diva.chat.interface_disclaimer module
- diva.chat.interface_gen_text_answer module
- diva.chat.interface_memory_rephrasing module
- diva.chat.module_chat module
ModuleChat
ModuleChat.add_disclaimer()
ModuleChat.chat
ModuleChat.chatbot_scope_strategy
ModuleChat.clear_history()
ModuleChat.create_user_prompt()
ModuleChat.generate_text_answer()
ModuleChat.is_memory_needed()
ModuleChat.is_prompt_in_scope()
ModuleChat.memory_needed
ModuleChat.prompt
ModuleChat.prompt_classification()
ModuleChat.prompt_history
ModuleChat.prompt_rephrasing()
ModuleChat.set_config_creation_strategy()
ModuleChat.set_demand_of_info()
- diva.chat.service_chatbot_scopes module
- diva.chat.service_disclaimer module
- diva.chat.service_gen_text_answer module
- diva.chat.service_is_memory_needed module
- diva.chat.service_prompt_classification module
- diva.chat.service_prompt_rephrasing module
- Module contents
- diva.config package
- Subpackages
- Submodules
- diva.config.config_object module
Config
Config.add_not_in_shp()
Config.aggregation_operator
Config.aggregation_type
Config.anomaly
Config.climate_variable
Config.creation_time
Config.end_time
Config.graph_type
Config.last
Config.location
Config.not_in_shp
Config.set_agg_operator()
Config.set_aggregation_type()
Config.set_anomaly()
Config.set_climate_variable()
Config.set_creation_time()
Config.set_end_time()
Config.set_graph_type()
Config.set_last()
Config.set_location()
Config.set_missings()
Config.set_start_time()
Config.set_time_expression()
Config.set_user_prompt()
Config.start_time
Config.time_expression
- diva.config.interface_ask_missings module
- diva.config.interface_completion module
- diva.config.interface_creation module
- diva.config.interface_get_missings module
- diva.config.interface_instruction module
- diva.config.module_config module
- diva.config.service_ask_missings module
- diva.config.service_completion module
- diva.config.service_get_missings module
- Module contents
- diva.parameters module
- diva.tools module
GetLinkQuestionForMissing
add_download_button_after_prompts()
add_download_feedback_button()
add_feedback()
add_feedback_msg_button()
add_footer()
add_header()
add_zipcode_to_city_name()
append_if_not_in()
change_date_str_format()
chech_if_empty_prompt()
check_token_validity()
clean_answer()
clean_prompt()
convert_to_dict_config()
datetime_from_str()
dic_month_id_to_name()
display_config()
drop_duplicated_columns()
enumeration()
export_results()
extract_data_from_plotlyFig()
find_best_match()
find_country()
format_date()
from_dict_to_str()
full_pipeline_config()
generate_connection_page()
generate_css_disconnect_button()
generate_map()
generate_session_id()
generate_waiting_for_graph_msg()
get_10_colors()
get_10_colors_gray()
get_city_zipcode()
get_code_of_function()
get_description_of_graph()
get_infos_from_location()
get_list_diva_functions()
get_month_names()
image_to_base64()
init_state()
interpolate_color()
is_time()
langage_to_iso()
last_day_of_month()
lemmatize()
load_data()
load_shapefile_cities()
log_out_keycloak()
no_truncated_sentence()
put_in_order_dates()
remove_accents()
send_user_event()
set_max_new_tokens()
show_energy_consumption()
str_from_datetime()
str_to_list()
translate_chat_msgs()
translate_from_en()
translate_to_en()
update_logging_history()
update_logs()
verify_authentification_keycloak()
write_like_chatGPT()