MCPcopy Create free account
hub / github.com/chenfei-wu/TaskMatrix / __init__

Method __init__

LowCodeLLM/src/executingLLM.py:27–32  ·  view source on GitHub ↗
(self, temperature)

Source from the content-addressed store, hash-verified

25
26class executingLLM:
27 def __init__(self, temperature) -> None:
28 self.prefix = EXECUTING_LLM_PREFIX
29 self.suffix = EXECUTING_LLM_SUFFIX
30 self.LLM = OpenAIWrapper(temperature)
31 self.messages = [{"role": "system", "content": "You are a helpful assistant."},
32 {"role": "system", "content": self.prefix}]
33
34 def execute(self, current_prompt, history):
35 ''' provide LLM the dialogue history and the current prompt to get response '''

Callers

nothing calls this directly

Calls 1

OpenAIWrapperClass · 0.90

Tested by

no test coverage detected