Ritvik19 commited on
Commit
9d46be2
·
verified ·
1 Parent(s): 709e378

Delete autoqa_chains.py

Browse files
Files changed (1) hide show
  1. autoqa_chains.py +0 -15
autoqa_chains.py DELETED
@@ -1,15 +0,0 @@
1
- from langchain_core.output_parsers import JsonOutputParser
2
- from langchain_core.prompts import PromptTemplate
3
-
4
- qa_prompt_template = """
5
- Create a mind map of questions (based on the given abstract) that will help understand a machine learning research paper.
6
- Ensure that the outline is structured in the following JSON array for clarity, such that each section should have two keys: "section_name" and "questions"
7
-
8
- Here is the research paper abstract: ####{paper}####
9
- """
10
-
11
- qa_prompt = PromptTemplate(
12
- template=qa_prompt_template,
13
- input_variables=["paper"],
14
- )
15
- auto_qa_chain = lambda model: qa_prompt | model | JsonOutputParser()