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:
gustavoschaedler 2023-07-05 00:57:16 +01:00
commit 4028554ef6
2 changed files with 2 additions and 2 deletions

View file

@ -181,7 +181,7 @@ class MyPythonClass:
llm=llm, verbose=True, memory=ConversationBufferMemory()
)
def build(self, name: str) -> ConversationChain:
def build(self, my_custom_input: str) -> ConversationChain:
conversation = self.my_conversation()
return conversation

View file

@ -62,7 +62,7 @@ class MyPythonClass:
llm=llm, verbose=True, memory=ConversationBufferMemory()
)
def build(self, name: str) -> ConversationChain:
def build(self, my_custom_input: str) -> ConversationChain:
conversation = self.my_conversation()
return conversation