API Reference¶
- diva.gui package
- diva.data package
- diva.graphs package
- Submodules
- diva.graphs.graph_generator module
GraphTextsIGraphGeneratorIGraphGenerator.NB_PARAM_ELMIGraphGenerator.aggreg_typeIGraphGenerator.climate_variableIGraphGenerator.comparison_locIGraphGenerator.comparison_timeIGraphGenerator.contextIGraphGenerator.cross_tensesIGraphGenerator.dataIGraphGenerator.delta_timeIGraphGenerator.delta_time_multiIGraphGenerator.endtimeIGraphGenerator.generate()IGraphGenerator.get_collection()IGraphGenerator.graph_contextIGraphGenerator.graph_typeIGraphGenerator.heatmap_not_supportedIGraphGenerator.initialise_data_collection()IGraphGenerator.langageIGraphGenerator.list_not_found_locIGraphGenerator.locationIGraphGenerator.out_of_boundsIGraphGenerator.paramsIGraphGenerator.params_after_processingIGraphGenerator.process_params()IGraphGenerator.shapefile_europeIGraphGenerator.shapefile_europe_citiesIGraphGenerator.starttimeIGraphGenerator.time_out_of_bounds
- diva.graphs.service_graph_generation module
ServiceGeneratePlotlyGraphServiceGeneratePlotlyGraph.add_tense_data()ServiceGeneratePlotlyGraph.checks()ServiceGeneratePlotlyGraph.colorsServiceGeneratePlotlyGraph.colors_grayServiceGeneratePlotlyGraph.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
ModuleChatModuleChat.add_disclaimer()ModuleChat.chatModuleChat.chatbot_scope_strategyModuleChat.clear_history()ModuleChat.create_user_prompt()ModuleChat.generate_text_answer()ModuleChat.is_memory_needed()ModuleChat.is_prompt_in_scope()ModuleChat.memory_neededModuleChat.promptModuleChat.prompt_classification()ModuleChat.prompt_historyModuleChat.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
ConfigConfig.add_not_in_shp()Config.aggregation_operatorConfig.aggregation_typeConfig.anomalyConfig.climate_variableConfig.creation_timeConfig.end_timeConfig.graph_typeConfig.lastConfig.locationConfig.not_in_shpConfig.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_timeConfig.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
GetLinkQuestionForMissingadd_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_plotly_fig()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()load_sort_shapefile_cities()log_out_keycloak()no_truncated_sentence()put_in_order_dates()remove_accents()renew_token()send_user_event()set_max_new_tokens()show_energy_consumption()show_notice()show_notice_if_needed()show_prompt_logs_repertory()str_from_datetime()str_to_list()translate_chat_msgs()translate_from_en()translate_to_en()update_logging_history()update_logs()user_needs_prompt_logs()verify_authentification_keycloak()write_like_chatGPT()