Tao Wu commited on
Commit
4486afa
1 Parent(s): c233057
Files changed (1) hide show
  1. app/app.py +2 -2
app/app.py CHANGED
@@ -62,8 +62,8 @@ def retrieve_documents(occupation,skills):
62
  doc_skill = doc.metadata.get('skills', '')
63
  input_text = f"target occupation: {llama_query}\n Recommended course: name: {doc_name}, learning objectives: {doc_skill[:2000]}"
64
  prompt = generate_prompt_exp(input_text)
65
- output = generate_exp(prompt)
66
- batch_output.append(output)
67
 
68
  # Evaluate the current batch of prompts
69
  output.append(f"<b>Zielberuf:</b> {target_occupation_name}")
 
62
  doc_skill = doc.metadata.get('skills', '')
63
  input_text = f"target occupation: {llama_query}\n Recommended course: name: {doc_name}, learning objectives: {doc_skill[:2000]}"
64
  prompt = generate_prompt_exp(input_text)
65
+ generate_ouput = generate_exp(prompt)
66
+ batch_output.append(generate_ouput)
67
 
68
  # Evaluate the current batch of prompts
69
  output.append(f"<b>Zielberuf:</b> {target_occupation_name}")