WiseAgentRemoteLLM
Bases: WiseAgentLLM
Extend WiseAgentLLM to support remote execution of WiseAgentLLM on a remote machine.
Source code in wiseagents/llm/wise_agent_remote_LLM.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
|
remote_address
property
Get the remote address.
__repr__()
Return a string representation of the agent.
Source code in wiseagents/llm/wise_agent_remote_LLM.py
18 19 20 |
|
process_chat_completion(messages, tools)
abstractmethod
Process a chat completion. This method should be implemented by subclasses. The context and state is passed in input and returned as part of the output. Deal with the messages and tools is responsibility of the caller.
Parameters: |
|
---|
Returns: |
|
---|
Source code in wiseagents/llm/wise_agent_remote_LLM.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
|
process_single_prompt(prompt)
abstractmethod
Process a single prompt. This method should be implemented by subclasses. The single prompt is processed and the result is returned, all the context and state is maintained locally in the method
Parameters: |
|
---|
Source code in wiseagents/llm/wise_agent_remote_LLM.py
27 28 29 30 31 32 33 34 35 |
|