tferhan commited on
Commit
c871090
·
verified ·
1 Parent(s): 9462cea

Update trans.py

Browse files
Files changed (1) hide show
  1. trans.py +1 -1
trans.py CHANGED
@@ -11,4 +11,4 @@ AI Assistant: Here is the transltion in french
11
  """
12
 
13
  prompt = PromptTemplate(input_variables=['input'], template = template_v2)
14
- trans = LLMChain(llm=llm, prompt=prompt)
 
11
  """
12
 
13
  prompt = PromptTemplate(input_variables=['input'], template = template_v2)
14
+ trans = prompt | llm | StrOutputParser()