pvanand commited on
Commit
5cc985a
·
verified ·
1 Parent(s): 676b3da

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -49,7 +49,7 @@ def json_from_text(text):
49
  def generate_topics(user_input, num_topics, previous_queries):
50
  previous_context = " -> ".join(previous_queries)
51
  prompt = f"""create a list of {num_topics} subtopics to follow for conducting {user_input} in the context of {previous_context}, RETURN VALID PYTHON LIST"""
52
- response_topics = together_response(prompt, model="meta-llama/Llama-3-8b-chat-hf", SysPrompt=None)
53
  subtopics = json_from_text(response_topics)
54
  return subtopics
55
 
 
49
  def generate_topics(user_input, num_topics, previous_queries):
50
  previous_context = " -> ".join(previous_queries)
51
  prompt = f"""create a list of {num_topics} subtopics to follow for conducting {user_input} in the context of {previous_context}, RETURN VALID PYTHON LIST"""
52
+ response_topics = together_response(prompt, model="meta-llama/Llama-3-8b-chat-hf", SysPrompt=SysPromptList)
53
  subtopics = json_from_text(response_topics)
54
  return subtopics
55