dropdown fixed

This commit is contained in:
feder-cr 2024-08-22 18:24:37 +01:00
parent 78d0a8ebca
commit 737d9cf457
4 changed files with 25 additions and 25 deletions

3
gpt.py
View file

@ -267,9 +267,6 @@ class GPTAnswerer:
Provide only the exact name of the section from the list above with no additional text.
"""
prompt = ChatPromptTemplate.from_template(section_prompt)
chain = prompt | self.llm_cheap | StrOutputParser()
output = chain.invoke({"question": question})