We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const ragApplication = await new RAGApplicationBuilder() .setModel(new HuggingFace({ modelName: 'timpal0l/mdeberta-v3-base-squad2'})) .setQueryTemplate('') .setVectorDb(new PineconeDb({ projectName: 'test', namespace: 'dev', indexSpec: { serverless: { cloud: 'aws', region: 'us-east-1', }, }, })) .setCache(new LmdbCache({ path: path.resolve('./cache') })) .setTemperature(0.01) // closer to 1 = more creative. Closer to 0 = more deterministic .setSearchResultCount(100) // hwow much to get from the db .build(); const query = await ragApplication.query('What is Tesla?');
Given this model and many other models on HuggingFace the output error is
Error: Error in `inputs`: value is not a valid dict at request
While I can see the error is from Hugging Face, it's unclear how I would provide the correct inputs in a case like this.
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 14 days with no activity.
Sorry, something went wrong.
This issue was closed because it has been inactive for 30 days since being marked as stale.
adhityan
No branches or pull requests
Given this model and many other models on HuggingFace the output error is
While I can see the error is from Hugging Face, it's unclear how I would provide the correct inputs in a case like this.
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: