billu_gunda_op / old prompt.txt
billusanda007's picture
Create old prompt.txt
84f5bf5
raw
history blame contribute delete
721 Bytes
'''prompt_template_name = PromptTemplate(
input_variables=['ip'],
template="""Score the following transcript : {ip} . Score it out of 5 which can take any float value from 0 to 5 under the following classes in the list:['Depressiveness', 'Suicidal Thoughts', 'Self Esteem', 'Supressiveness', 'Tiredness'] each separated by commas and give the response in one single line without any leading spaces or new line changes directly starting with scores and only write the scores no extra information and if any score is an integer value end it with ".0"""
)
prompt_template_name.format(ip=text)
score_chain = LLMChain(llm=llm, prompt=prompt_template_name)
scores = score_chain.run(text)'''