billusanda007 commited on
Commit
84f5bf5
·
1 Parent(s): 025a30b

Create old prompt.txt

Browse files
Files changed (1) hide show
  1. old prompt.txt +8 -0
old prompt.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ '''prompt_template_name = PromptTemplate(
2
+ input_variables=['ip'],
3
+ 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"""
4
+ )
5
+ prompt_template_name.format(ip=text)
6
+
7
+ score_chain = LLMChain(llm=llm, prompt=prompt_template_name)
8
+ scores = score_chain.run(text)'''