Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 2.62 KB

README.md

File metadata and controls

48 lines (40 loc) · 2.62 KB

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
Loading

Output

Output image

NOTE

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

Star History

Star History Chart