Remove unused function get_new_key()
This commit is contained in:
parent
380a42e988
commit
026b16977a
1 changed files with 0 additions and 9 deletions
|
|
@ -47,12 +47,3 @@ def build_input_keys_response(langchain_object, artifacts):
|
|||
input_keys_response["template"] = langchain_object.prompt.template
|
||||
|
||||
return input_keys_response
|
||||
|
||||
|
||||
def get_new_key(dictionary, original_key):
|
||||
counter = 1
|
||||
new_key = original_key + " (" + str(counter) + ")"
|
||||
while new_key in dictionary:
|
||||
counter += 1
|
||||
new_key = original_key + " (" + str(counter) + ")"
|
||||
return new_key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue