You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am facing these 2 errors, kindly help me out what I am missing ?
_script.py", line 47, in
prompt_helper = PromptHelper(
TypeError: PromptHelper.init() got an unexpected keyword argument 'max_input_size'
_script.py", line 47, in
prompt_helper = PromptHelper(
TypeError: PromptHelper.init() got an unexpected keyword argument 'max_chunk_overlap'
#code
prompt_helper = PromptHelper(
# maximum input size
max_input_size=2048,
# number of output tokens
num_output=256,
# the maximum overlap between chunks.
max_chunk_overlap=20,
)
The text was updated successfully, but these errors were encountered:
i am facing these 2 errors, kindly help me out what I am missing ?
_script.py", line 47, in
prompt_helper = PromptHelper(
TypeError: PromptHelper.init() got an unexpected keyword argument 'max_input_size'
_script.py", line 47, in
prompt_helper = PromptHelper(
TypeError: PromptHelper.init() got an unexpected keyword argument 'max_chunk_overlap'
#code
prompt_helper = PromptHelper(
# maximum input size
max_input_size=2048,
# number of output tokens
num_output=256,
# the maximum overlap between chunks.
max_chunk_overlap=20,
)
The text was updated successfully, but these errors were encountered: