Find answers from the community

Updated 4 months ago

Solved by defining embed_model and

At a glance

The community member initially solved an issue by defining embed_model and service context, but then encountered a new problem where running pack.run resulted in a ValueError: Only one free input key is allowed. Other community members chimed in, initially thinking it was a bug, but then realizing it was not. The solution was to run pack.run(input="What did the author do growing up?"), as the readme had a typo. A community member has now submitted a pull request to fix the typo.

Useful resources
Solved by defining embed_model and service context but got a new problem. WHEN I DO pack.run it says: ValueError: Only one free input key is allowed.
L
M
8 comments
hmm sounds kind of sus. Let me take a stab at this
Ha, running it out of the box it gives me that error as well
lets see where the bug is
oh not a bug actually
To run the pack, you need pack.run(input="What did the author do growing up?")
Seems the readme has a typo
I see that makes sense and it works now!
Add a reply
Sign up and join the conversation on Discord