AI_assistant プログラム仕様
- class AI_assistant.AIEditorApp(master)
ベースクラス:
object- apply_verbosity(base_prompt, verbosity)
Verbosity コンボボックスの指定をプロンプトに反映(APIパラメータではなく指示文)
- browse_editor_executable()
- browse_input_file()
- browse_output_file()
- create_widgets()
- display_selected_prompt_template(event=None)
- display_selected_role_prompt(event=None)
- generate_default_output_file_path(input_file_path)
- load_config()
- load_ini_file(filename)
- load_initial_settings()
- on_closing()
- on_gripper_drag(event)
- on_gripper_press(event)
- run_query_logic()
- save_config()
- start_query_thread()
- update_model_list(event=None, refresh_from_api=True)
API選択に合わせてモデル候補を更新する。
まず組み込み候補を即座に表示し、続いて別スレッドで プロバイダーAPIから最新一覧を取得して差し替える。
- view_file(file_path)