-
Notifications
You must be signed in to change notification settings - Fork 108
Restructure examples folder #146
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
Conversation
…into examples # Conflicts: # examples/old/pipeline/kg_builder.py
…into examples # Conflicts: # examples/old/pipeline/Harry Potter and the Chamber of Secrets Summary.pdf # examples/old/pipeline/kg_builder_example.py # examples/old/pipeline/kg_builder_two_documents_entity_resolution.py
…om doc - need to keep the file until the next release but then remove
examples/README.md
Outdated
|
||
- Build Knowledge Graph from PDF or text | ||
- Retrieve information from the graph | ||
- Answer questions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of "answer", shall we have "Question Answering" / qa, as this is the common term in literature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
examples/customize/build_graph/components/loaders/pdf_loader.py
Outdated
Show resolved
Hide resolved
query_text = "Find me a book about Fremen" | ||
print( | ||
retriever.search( | ||
query_text=query_text, top_k=1, filters={"int_property": {"$gt": 100}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth having the prefilters as a separate variable for explicitness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…into examples # Conflicts: # examples/customize/retrievers/external/pinecone/pinecone_vector_search.py # examples/customize/retrievers/external/weaviate/weaviate_text_search_local_embedder.py # examples/openai_search.py
Description
Type of Change
Complexity
Complexity:
How Has This Been Tested?
Checklist
The following requirements should have been met (depending on the changes in the branch):