Comments (2)
Hi @sonnylaskar, the error is in the Document schema validation.
The elements of meta field of Document are validated to be str values, but it breaks here for FAQs, as the question embedding is of vector type.
It should now be fixed by #102.
from haystack.
Thanks @tanaysoni , this solves the issue.
Another query:
I couldn't figure out how to get additional meta fields also returned in the results response.
Currently, the results object contains
question,
answers.answer
answers.question
answer.probability
...
How do I get other fields from the same document? I think that should come under "meta" but I am not aware of how to specify that? Is there any environment variable?
from haystack.
Related Issues (20)
- Pipeline fails validation if component uses `from __future__ import annotations` HOT 1
- SASEvaluator output scores are list of ndarray for bi-encoders but should be list of float
- Use case Chat + RAG
- Benchmark existing techniques using evaluation harness
- Add the memory feature to the library
- Create a colab with an example template Chat + RAG pipeline
- Select 4 or 5 datasets
- Run evaluations on selected datasets to optimise basic RAG pipeline
- ModuleNotFoundError: No module named 'haystack.nodes' HOT 1
- `FileTypeRouter` should get mime type from `ByteStream` mime type attribute instead of `meta
- Use case Chat + tools
- Use case tools + plan
- Use case text-to-sql database explorer
- Allow Pipelines to be run/reused in "SuperPipelines" HOT 2
- ModuleNotFoundError: No module named 'haystack.nodes' HOT 2
- Installation issues on Databricks
- Use case RAG + one-shot query planning
- QA problem in using QdrantDocumentStore HOT 3
- Docs: SentenceTransformersDiversityRanker HOT 1
- (De-) Serialization is not properly working for HuggingFaceAPITextEmbedder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haystack.