CineAI commited on
Commit
afec314
1 Parent(s): 8099938

Update llm/llm.py

Browse files
Files changed (1) hide show
  1. llm/llm.py +1 -1
llm/llm.py CHANGED
@@ -15,4 +15,4 @@ class LLM_chain:
15
  prompt = PromptTemplate(template=template, input_variables=["entity"])
16
  llm_chain = LLMChain(prompt=prompt, llm=self.llm, verbose=True)
17
  output = llm_chain.invoke(entity)
18
- return output
 
15
  prompt = PromptTemplate(template=template, input_variables=["entity"])
16
  llm_chain = LLMChain(prompt=prompt, llm=self.llm, verbose=True)
17
  output = llm_chain.invoke(entity)
18
+ return output["text"]