omergulen commited on
Commit
c9852cb
·
1 Parent(s): 0bdfeea

OEPN_AI_KEY to OPEN_AI_KEY

Files changed (1) hide show
  1. utils/haystack.py +1 -1
utils/haystack.py CHANGED
@@ -10,7 +10,7 @@ from haystack.nodes import PromptNode, PromptTemplate
10
  )
11
  def start_haystack():
12
  #Use this function to contruct a pipeline
13
- prompt_node = PromptNode(model_name_or_path="text-davinci-003", api_key=OEPN_AI_KEY)
14
 
15
  twitter_template = PromptTemplate(name="twitter-voice", prompt_text="""You will be given a twitter stream belonging to a specific profile. Answer with a summary of what they've lately been tweeting about and in what languages.
16
  You may go into some detail about what topics they tend to like tweeting about. Please also mention their overall tone, for example: positive,
 
10
  )
11
  def start_haystack():
12
  #Use this function to contruct a pipeline
13
+ prompt_node = PromptNode(model_name_or_path="text-davinci-003", api_key=OPEN_AI_KEY)
14
 
15
  twitter_template = PromptTemplate(name="twitter-voice", prompt_text="""You will be given a twitter stream belonging to a specific profile. Answer with a summary of what they've lately been tweeting about and in what languages.
16
  You may go into some detail about what topics they tend to like tweeting about. Please also mention their overall tone, for example: positive,