Skip to content

bhaskatripathi/HypothesisHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HypothesisHub

HypothesisHub is an AI Tool for the Automated Generation of Research Questions and Hypotheses from Scientific Literature. It applies a chain of reasoning to scientific literature to generate questions and hypotheses. OpenAI and Langchain serve as the underlying technologies for the tool.

Open In Colab

Features

  • Generates research questions from a given scientific literature
  • Generates a null hypothesis (H0) and an alternate hypothesis (H1) for each research question
  • Handles cases where either H0 or H1 is not present
  • Automatically generates missing H1 using the LLMChain if needed
  • Negates hypothesis statement if H0 is missing

Sequence Diagram

sequenceDiagram
    participant User
    participant OpenAI
    participant ResearchAndHypothesisGenerator

    User->>+ResearchAndHypothesisGenerator: provide scientific literature
    ResearchAndHypothesisGenerator->>+research_question_template: instantiate prompt template
    research_question_template->>+ResearchAndHypothesisGenerator: return prompt template
    ResearchAndHypothesisGenerator->>+research_question_chain: instantiate LLMChain
    research_question_chain->>+ResearchAndHypothesisGenerator: return LLMChain
    ResearchAndHypothesisGenerator->>+OpenAI: generate research questions
    OpenAI->>+research_question_chain: generate research questions
    research_question_chain->>+OpenAI: return research questions
    OpenAI->>-ResearchAndHypothesisGenerator: return research questions
    ResearchAndHypothesisGenerator->>+hypothesis_prompt_template: instantiate prompt template
    hypothesis_prompt_template->>+ResearchAndHypothesisGenerator: return prompt template
    ResearchAndHypothesisGenerator->>+hypothesis_chain: instantiate LLMChain
    hypothesis_chain->>+ResearchAndHypothesisGenerator: return LLMChain
    ResearchAndHypothesisGenerator->>+OpenAI: generate hypotheses
    OpenAI->>+hypothesis_chain: generate hypotheses
    hypothesis_chain->>+OpenAI: return hypotheses
    OpenAI->>-ResearchAndHypothesisGenerator: return hypotheses
    ResearchAndHypothesisGenerator->>-User: return research questions and hypotheses

Output

Output image

NOTE

Please give a star if you like this project and find it useful.

Star History

Star History Chart