Refactor build method argument name for clarity
Previously, the `build` method in the `MyPythonClass` class had an argument named `name`, which could be confusing. This commit changes the argument name to `my_custom_input` to improve readability and clarity.
This commit is contained in:
parent
92b747b6da
commit
4028554ef6
2 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ class MyPythonClass:
|
||||||
llm=llm, verbose=True, memory=ConversationBufferMemory()
|
llm=llm, verbose=True, memory=ConversationBufferMemory()
|
||||||
)
|
)
|
||||||
|
|
||||||
def build(self, name: str) -> ConversationChain:
|
def build(self, my_custom_input: str) -> ConversationChain:
|
||||||
conversation = self.my_conversation()
|
conversation = self.my_conversation()
|
||||||
|
|
||||||
return conversation
|
return conversation
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ class MyPythonClass:
|
||||||
llm=llm, verbose=True, memory=ConversationBufferMemory()
|
llm=llm, verbose=True, memory=ConversationBufferMemory()
|
||||||
)
|
)
|
||||||
|
|
||||||
def build(self, name: str) -> ConversationChain:
|
def build(self, my_custom_input: str) -> ConversationChain:
|
||||||
conversation = self.my_conversation()
|
conversation = self.my_conversation()
|
||||||
|
|
||||||
return conversation
|
return conversation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue