Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llama_index PromptHelper Issue in custom script #14

Open
connect2haceeb opened this issue Dec 29, 2023 · 0 comments
Open

llama_index PromptHelper Issue in custom script #14

connect2haceeb opened this issue Dec 29, 2023 · 0 comments

Comments

@connect2haceeb
Copy link

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,
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant