Completeness check + web search feature#65
Merged
adamjohnwright merged 20 commits intomainfrom Jan 21, 2025
Merged
Conversation
…ut documents, created a PMC wrapper to query PMC, used LangGraph to implement PMC querying to the pipeline.
…uments along with final answer; updated the evaluation pipeline; cleaned up the reactome prompt
…low to perform a web search using Tavily instead of PMC
…pmc and web) results
…rank external search results
GFJHogue
commented
Jan 21, 2025
| name="SearchResults", | ||
| props={"results": result["additional_content"]["search_results"]}, | ||
| ) | ||
| sent_message.elements = [search_results_element] # type: ignore |
Collaborator
Author
There was a problem hiding this comment.
Chainlit's own type annotations on this make it seemingly impossible to satisfy mypy here.
adamjohnwright
requested changes
Jan 21, 2025
Contributor
adamjohnwright
left a comment
There was a problem hiding this comment.
Other than the paths from Helia's computer I approve of this pull request.
| retriever_list = [] | ||
|
|
||
| loader = CSVLoader( | ||
| "/Users/hmohammadi/Desktop/react_to_me_github/reactome_chatbot/embeddings/openai/text-embedding-3-large/reactome/summation_csv/summations.csv" |
Contributor
There was a problem hiding this comment.
This path doesn't seam right
| os.makedirs(eval_dir, exist_ok=True) | ||
|
|
||
| # Initialize RAG Chain | ||
| embeddings_directory = "/Users/hmohammadi/Desktop/react_to_me_github/reactome_chatbot/embeddings/openai/text-embedding-3-large/reactome/Release90/summations" |
Contributor
There was a problem hiding this comment.
here too--this path does not seam right to be pulling in.
GFJHogue
pushed a commit
that referenced
this pull request
Apr 17, 2025
Completeness check + web search feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Features:
postprocessnode of the main graph.all,logged_in) configurable inconfig.yml.Fixes / Improvements:
util.config_ymlmodule code.