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

LAMBDAPROMPT_BACKEND = StarCoder causes runtime ValidationError on .sketch.ask #36

Open
gilgamesh7 opened this issue Apr 20, 2024 · 0 comments

Comments

@gilgamesh7
Copy link

gilgamesh7 commented Apr 20, 2024

Hello,

I am using these in .env and load_dotenv() to load these into the runtime

LAMBDAPROMPT_BACKEND=StarCoder
SKETCH_USE_REMOTE_LAMBDAPROMPT='False'
HF_ACCESS_TOKEN=(my token)

This results in the below ValidationError.
This does work when I do not use the local copy.

Any ideas ?

Thank you !

Python 3.10.0
sketch==0.5.2


ValidationError Traceback (most recent call last)
Cell In[27], line 1
----> 1 df.sketch.ask("What is this dataset about?")
...
[329]def ask(self, question, call_display=True):
--> [330] result = call_prompt_on_dataframe(self._obj, ask_from_parts, question=question)
...
ValidationError: 1 validation error for Parameters
stop
Field required [type=missing, input_value={}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/missing

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