MCPcopy Create free account

hub / github.com/llm-workflow-engine/llm-workflow-engine / functions

Functions897 in github.com/llm-workflow-engine/llm-workflow-engine

Method_stream
( self, messages: List[BaseMessage], stop: Union[List[str], None] = None, run_
lwe/plugins/provider_fake_llm.py:166
Methodaction_command1_action1
(self)
tests/unit/test_util.py:224
Methodaction_command1_action2
(self)
tests/unit/test_util.py:227
Methodaction_command2_action3
(self)
tests/unit/test_util.py:230
Methodaction_plugin_reload
(self, plugin_name)
lwe/core/repl.py:1211
Methodaction_preset_delete
Deletes an existing preset :param preset_name: Required. The name of the preset to delete :type preset_name: str :r
lwe/backends/api/repl.py:945
Methodaction_preset_edit
Edit an existing preset :param preset_name: Required. The name of the preset :type preset_name: str :return: A tupl
lwe/backends/api/repl.py:891
Methodaction_preset_save
Create a new preset, or update an existing preset :param args: The arguments passed to the method, first must be the preset name,
lwe/backends/api/repl.py:830
Methodaction_preset_show
Display a preset :param preset_name: Optional. The name of the preset to show (default: active preset) :type preset_name: st
lwe/backends/api/repl.py:803
Methodaction_template_copy
Copies an existing template and saves it as a new template. :param template_names: The names of the old and new templates. :
lwe/core/repl.py:1079
Methodaction_template_delete
Deletes an existing template. :param template_name: The name of the template to delete. :type template_name: str
lwe/core/repl.py:1101
Methodaction_template_edit
Create a new template, or edit an existing template. :param template_name: The name of the template. :type template_name: st
lwe/core/repl.py:1061
Methodaction_template_edit_run
Open a template for final editing, then run it. :param template_name: The name of the template. :type template_name: str
lwe/core/repl.py:1159
Methodaction_template_prompt_edit_run
Prompts for a value for each variable in the template, sustitutes the values in the template, opens an editor for final edits, and se
lwe/core/repl.py:1173
Methodaction_template_prompt_run
Prompt for template variable values, then run. :param template_name: The name of the template. :type template_name: str
lwe/core/repl.py:1138
Methodaction_template_run
Run a template. :param template_name: The name of the template. :type template_name: str
lwe/core/repl.py:1121
Methodaction_user_delete
Delete a user :param username: The username of the user to be deleted :type username: str :return: A tuple containi
lwe/backends/api/repl.py:583
Methodaction_user_edit
Edit the current user's information :param username: The username of the user to edit, if not provided, the logged in user will be u
lwe/backends/api/repl.py:559
Methodaction_user_show
Show user information :param username: The username of the user to show, if not provided, the logged in user will be used. :
lwe/backends/api/repl.py:481
Methodaction_workflow_copy
Copies an existing workflow and saves it as a new workflow Arguments: workflow_names: Required. The name of the old and
lwe/backends/api/repl.py:1111
Methodaction_workflow_delete
Deletes an existing workflow Arguments: workflow_name: Required. The name of the workflow to delete Examples:
lwe/backends/api/repl.py:1168
Methodaction_workflow_edit
Create a new workflow, or edit an existing workflow Arguments: workflow_name: Required. The name of the workflow
lwe/backends/api/repl.py:1134
Methodaction_workflow_run
Run a workflow Arguments: workflow_name: Required. The name of the workflow variables: Space-separated list
lwe/backends/api/repl.py:1067
Methodaction_workflow_show
Display a workflow Arguments: workflow_name: Required. The name of the workflow Examples: {COMMAND}
lwe/backends/api/repl.py:1089
Functionadd
Adds a and b.
scripts/tool_calling_stub.py:23
Functionansible_doc_to_markdown
(module_name, full_doc=False)
lwe/core/util.py:314
Methodavailable_models
(self)
lwe/core/provider.py:112
Methodbuild_message_from_template
Build a message from a given template and substitutions. :param template_name: The name of the template to use. :type templa
lwe/core/template_manager.py:263
Methodbuild_shell_user_prefix
Build the prefix for the shell prompt :return: The prefix for the shell prompt :rtype: str
lwe/backends/api/repl.py:282
Methodcapabilities
(self)
lwe/core/provider.py:429
Methodcapabilities
(self)
lwe/plugins/provider_chat_openai_compat.py:39
Methodcapabilities
(self)
lwe/plugins/provider_fake_llm.py:212
Methodcapabilities
(self)
lwe/plugins/provider_chat_openai.py:31
Methodcatch_ctrl_c
(self, signum, _frame)
lwe/core/repl.py:98
Methodcommand_ask
Ask a question It is purely optional. Examples: {COMMAND} what is 6+6 (is the same as 'what is 6+6')
lwe/core/repl.py:770
Methodcommand_chat
Retrieve chat content Arguments: history_id: The history ID With no arguments, show content of the current c
lwe/core/repl.py:642
Methodcommand_command1
(self)
tests/unit/test_util.py:56
Methodcommand_command2
(self)
tests/unit/test_util.py:59
Methodcommand_copy
Copy last conversation message to clipboard Examples: {COMMAND}
lwe/core/repl.py:452
Methodcommand_delete
Delete one or more conversations Can delete by conversation ID, history ID, or current conversation. Arguments:
lwe/core/repl.py:410
Methodcommand_echo
Echo command, a simple plugin example This command is provided as an example of extending functionality via a plugin. Argum
lwe/plugins/echo.py:40
Methodcommand_editor
Open an editor for entering a command When the editor is closed, the content is sent. Arguments: default_text:
lwe/core/repl.py:838
Methodcommand_examples
List or install example files The example files that come with the package can be listed and optionally installed in the cur
lwe/plugins/examples.py:113
Methodcommand_exit
Exit the shell Examples: {COMMAND}
lwe/core/repl.py:1390
Methodcommand_file
Send a prompt read from the named file Arguments: file_name: The name of the file to read from Examples:
lwe/core/repl.py:855
Methodcommand_history
Show recent conversation history Arguments; limit: limit the number of messages to show (default {DEFAULT_HISTORY_LIMIT}
lwe/core/repl.py:465
Methodcommand_log
Enable/disable logging to a file Arguments: file_name: The name of the file to write to Examples: L
lwe/core/repl.py:872
Methodcommand_login
Alias of '{COMMAND_LEADER}user-login' Login in as a user. :param identifier: The username or email :type identifier
lwe/backends/api/repl.py:419
Methodcommand_logout
Alias of '{COMMAND_LEADER}user-logout' Logout the current user. :param _: Unused argument :return: The result of t
lwe/backends/api/repl.py:445
Methodcommand_max_submission_tokens
The maximum number of tokens that can be submitted to the model. For chat-based providers, this will be used to truncate earlier mes
lwe/backends/api/repl.py:663
Methodcommand_plugin
Perform operations on plugins. Arguments: action: The action to perform. One of: reload target: The target f
lwe/core/repl.py:1197
Methodcommand_plugins
List installed plugins Plugins are enabled by adding their name to the list of enabled plugins in the profile configuration.
lwe/core/repl.py:1224
Methodcommand_preset
Run actions on presets Presets are saved provider/model configurations. Available actions: * delete: Delete a p
lwe/backends/api/repl.py:772
Methodcommand_presets
List available presets Preset are pre-configured provider/model configurations that can be stored and loaded for convenience.
lwe/backends/api/repl.py:736
Methodcommand_provider
View or set the current LLM provider Arguments: provider: The name of the provider to set. model_name: Optio
lwe/backends/api/repl.py:705
Methodcommand_providers
List currently enabled providers Examples: {COMMAND}
lwe/backends/api/repl.py:691
Methodcommand_quit
Exit the shell Examples: {COMMAND}
lwe/core/repl.py:1399
Methodcommand_read
Begin reading multi-line input Allows for entering more complex multi-line input prior to sending it. Examples:
lwe/core/repl.py:810
Methodcommand_stream
Toggle streaming mode Streaming mode: streams the raw response (no markdown rendering) Non-streaming mode: Returns full resp
lwe/core/repl.py:386
Methodcommand_switch
Switch to chat Arguments: history_id: The history ID of the conversation Examples: {COMMAND} 2
lwe/core/repl.py:712
Methodcommand_system_message
Set the system message sent for conversations. The system message helps set the behavior of the assistant. Conversations begin with
lwe/backends/api/repl.py:630
Methodcommand_templates
List available templates Templates are pre-configured text content that can be customized before sending a message to the model.
lwe/core/repl.py:968
Methodcommand_title
Show or set title Arguments: title: title of the current conversation ...or... history_id: histo
lwe/core/repl.py:563
Methodcommand_tools
List available tools Tools are pieces of Python code that the LLM can request to be called to perform some action.
lwe/backends/api/repl.py:1203
Methodcommand_user
Run actions on users Available actions: * delete: Delete a user * edit: Edit a user * login: Log
lwe/backends/api/repl.py:346
Methodcommand_users
Show information for all users :param _: Unused argument :return: The result of the user_management.get_users method
lwe/backends/api/repl.py:506
Methodcommand_workflow
Run actions on workflows Workflows enable multi-step interaction with LLMs, with simple decision-making abilities.
lwe/backends/api/repl.py:1035
Methodcommand_workflows
List available workflows Workflows enable multi-step interaction with LLMs, with simple decision-making abilities.
lwe/backends/api/repl.py:983
Methodconfigure_backend
(self)
lwe/backends/api/repl.py:93
Methodconfigure_shell_commands
(self)
lwe/backends/api/repl.py:46
Functionconsole
(*args, **kwargs)
lwe/debug.py:12
Methodconversation_data_to_messages
(self, conversation_data)
tests/base.py:78
Methodcustomization_config
(self)
lwe/plugins/provider_chat_openai_compat.py:56
Methodcustomization_config
(self)
lwe/plugins/provider_fake_llm.py:229
Methodcustomization_config
(self)
lwe/plugins/provider_chat_openai.py:292
Methoddefault_config
(self)
lwe/core/provider.py:119
Methoddefault_config
The default configuration for this plugin. This is called by the plugin manager after the plugin is initialized. The user can
lwe/plugins/echo.py:10
Methoddefault_config
(self)
lwe/plugins/provider_chat_openai.py:20
Methoddefault_config
(self)
lwe/plugins/examples.py:20
Methoddefault_model
(self)
lwe/core/provider.py:434
Methoddefault_model
(self)
lwe/plugins/provider_chat_openai_compat.py:47
Methoddefault_model
(self)
lwe/plugins/provider_fake_llm.py:220
Methoddefault_model
(self)
lwe/plugins/provider_chat_openai.py:38
Methoddelete_conversation
(self, uuid=None)
tests/base.py:81
Methoddelete_conversation
(self, conversation_id)
lwe/backends/api/conversation.py:77
Methoddelete_message
(self, message_id)
lwe/backends/api/message.py:122
Methoddescription
(self)
lwe/core/plugin.py:22
Methoddict_to_completions
(completions, items, prefix=None, is_dict=False)
lwe/core/provider.py:251
Methoddisplay_name
(self)
lwe/core/provider.py:100
Methodedit_conversation
(self, conversation_id, **kwargs)
lwe/backends/api/conversation.py:35
Methodedit_user
(self, user_id, username=None, email=None, password=None, default_preset=None)
lwe/backends/api/user.py:108
Functionensure_event_loop
()
lwe/core/async_compat.py:4
Methodexec_prompt_pre
(self, command, arg)
lwe/backends/api/repl.py:38
Functionfile
(*args, **kwargs)
lwe/debug.py:16
Methodget_config
(self)
lwe/examples/tools/store_sentiment_and_topics.py:26
Methodget_current_conversation_title
(self)
lwe/backends/api/backend.py:702
Methodget_custom_shell_completions
(self)
lwe/backends/api/repl.py:49
Methodget_shell_completions
Example of provided shell completions.
lwe/plugins/echo.py:32
Methodget_shell_completions
Example of provided shell completions.
lwe/plugins/examples.py:37
Methodget_user
(self, user_id)
lwe/backends/api/repl.py:102
← previousnext →501–600 of 897, ranked by callers