Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/llm-workflow-engine/llm-workflow-engine
/ functions
Functions
897 in github.com/llm-workflow-engine/llm-workflow-engine
⨍
Functions
897
◇
Types & classes
56
↳
Endpoints
7
Method
_stream
( self, messages: List[BaseMessage], stop: Union[List[str], None] = None, run_
lwe/plugins/provider_fake_llm.py:166
Method
action_command1_action1
(self)
tests/unit/test_util.py:224
Method
action_command1_action2
(self)
tests/unit/test_util.py:227
Method
action_command2_action3
(self)
tests/unit/test_util.py:230
Method
action_plugin_reload
(self, plugin_name)
lwe/core/repl.py:1211
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_template_run
Run a template. :param template_name: The name of the template. :type template_name: str
lwe/core/repl.py:1121
Method
action_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
Method
action_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
Method
action_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
Method
action_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
Method
action_workflow_delete
Deletes an existing workflow Arguments: workflow_name: Required. The name of the workflow to delete Examples:
lwe/backends/api/repl.py:1168
Method
action_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
Method
action_workflow_run
Run a workflow Arguments: workflow_name: Required. The name of the workflow variables: Space-separated list
lwe/backends/api/repl.py:1067
Method
action_workflow_show
Display a workflow Arguments: workflow_name: Required. The name of the workflow Examples: {COMMAND}
lwe/backends/api/repl.py:1089
Function
add
Adds a and b.
scripts/tool_calling_stub.py:23
Function
ansible_doc_to_markdown
(module_name, full_doc=False)
lwe/core/util.py:314
Method
available_models
(self)
lwe/core/provider.py:112
Method
build_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
Method
build_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
Method
capabilities
(self)
lwe/core/provider.py:429
Method
capabilities
(self)
lwe/plugins/provider_chat_openai_compat.py:39
Method
capabilities
(self)
lwe/plugins/provider_fake_llm.py:212
Method
capabilities
(self)
lwe/plugins/provider_chat_openai.py:31
Method
catch_ctrl_c
(self, signum, _frame)
lwe/core/repl.py:98
Method
command_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
Method
command_chat
Retrieve chat content Arguments: history_id: The history ID With no arguments, show content of the current c
lwe/core/repl.py:642
Method
command_command1
(self)
tests/unit/test_util.py:56
Method
command_command2
(self)
tests/unit/test_util.py:59
Method
command_copy
Copy last conversation message to clipboard Examples: {COMMAND}
lwe/core/repl.py:452
Method
command_delete
Delete one or more conversations Can delete by conversation ID, history ID, or current conversation. Arguments:
lwe/core/repl.py:410
Method
command_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
Method
command_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
Method
command_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
Method
command_exit
Exit the shell Examples: {COMMAND}
lwe/core/repl.py:1390
Method
command_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
Method
command_history
Show recent conversation history Arguments; limit: limit the number of messages to show (default {DEFAULT_HISTORY_LIMIT}
lwe/core/repl.py:465
Method
command_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
Method
command_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
Method
command_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
Method
command_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
Method
command_plugin
Perform operations on plugins. Arguments: action: The action to perform. One of: reload target: The target f
lwe/core/repl.py:1197
Method
command_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
Method
command_preset
Run actions on presets Presets are saved provider/model configurations. Available actions: * delete: Delete a p
lwe/backends/api/repl.py:772
Method
command_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
Method
command_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
Method
command_providers
List currently enabled providers Examples: {COMMAND}
lwe/backends/api/repl.py:691
Method
command_quit
Exit the shell Examples: {COMMAND}
lwe/core/repl.py:1399
Method
command_read
Begin reading multi-line input Allows for entering more complex multi-line input prior to sending it. Examples:
lwe/core/repl.py:810
Method
command_stream
Toggle streaming mode Streaming mode: streams the raw response (no markdown rendering) Non-streaming mode: Returns full resp
lwe/core/repl.py:386
Method
command_switch
Switch to chat Arguments: history_id: The history ID of the conversation Examples: {COMMAND} 2
lwe/core/repl.py:712
Method
command_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
Method
command_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
Method
command_title
Show or set title Arguments: title: title of the current conversation ...or... history_id: histo
lwe/core/repl.py:563
Method
command_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
Method
command_user
Run actions on users Available actions: * delete: Delete a user * edit: Edit a user * login: Log
lwe/backends/api/repl.py:346
Method
command_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
Method
command_workflow
Run actions on workflows Workflows enable multi-step interaction with LLMs, with simple decision-making abilities.
lwe/backends/api/repl.py:1035
Method
command_workflows
List available workflows Workflows enable multi-step interaction with LLMs, with simple decision-making abilities.
lwe/backends/api/repl.py:983
Method
configure_backend
(self)
lwe/backends/api/repl.py:93
Method
configure_shell_commands
(self)
lwe/backends/api/repl.py:46
Function
console
(*args, **kwargs)
lwe/debug.py:12
Method
conversation_data_to_messages
(self, conversation_data)
tests/base.py:78
Method
customization_config
(self)
lwe/plugins/provider_chat_openai_compat.py:56
Method
customization_config
(self)
lwe/plugins/provider_fake_llm.py:229
Method
customization_config
(self)
lwe/plugins/provider_chat_openai.py:292
Method
default_config
(self)
lwe/core/provider.py:119
Method
default_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
Method
default_config
(self)
lwe/plugins/provider_chat_openai.py:20
Method
default_config
(self)
lwe/plugins/examples.py:20
Method
default_model
(self)
lwe/core/provider.py:434
Method
default_model
(self)
lwe/plugins/provider_chat_openai_compat.py:47
Method
default_model
(self)
lwe/plugins/provider_fake_llm.py:220
Method
default_model
(self)
lwe/plugins/provider_chat_openai.py:38
Method
delete_conversation
(self, uuid=None)
tests/base.py:81
Method
delete_conversation
(self, conversation_id)
lwe/backends/api/conversation.py:77
Method
delete_message
(self, message_id)
lwe/backends/api/message.py:122
Method
description
(self)
lwe/core/plugin.py:22
Method
dict_to_completions
(completions, items, prefix=None, is_dict=False)
lwe/core/provider.py:251
Method
display_name
(self)
lwe/core/provider.py:100
Method
edit_conversation
(self, conversation_id, **kwargs)
lwe/backends/api/conversation.py:35
Method
edit_user
(self, user_id, username=None, email=None, password=None, default_preset=None)
lwe/backends/api/user.py:108
Function
ensure_event_loop
()
lwe/core/async_compat.py:4
Method
exec_prompt_pre
(self, command, arg)
lwe/backends/api/repl.py:38
Function
file
(*args, **kwargs)
lwe/debug.py:16
Method
get_config
(self)
lwe/examples/tools/store_sentiment_and_topics.py:26
Method
get_current_conversation_title
(self)
lwe/backends/api/backend.py:702
Method
get_custom_shell_completions
(self)
lwe/backends/api/repl.py:49
Method
get_shell_completions
Example of provided shell completions.
lwe/plugins/echo.py:32
Method
get_shell_completions
Example of provided shell completions.
lwe/plugins/examples.py:37
Method
get_user
(self, user_id)
lwe/backends/api/repl.py:102
← previous
next →
501–600 of 897, ranked by callers