model_obj = akasha.helper.handle_model("openai:gpt-3.5-turbo", False, 0.0) # this prompt ask LLM to response 'yes' or 'no' if the document segment is relevant to the user question or not. SYSTEM_PROMPT = akasha.prompts.default_doc_grader_prompt() documents = ["Doc1...", "Doc2...", "Doc3...", "Doc4..."] question = "五軸是什麼?"
prompts = ["document: " + doc +"\n\n" + "User Question: "+ question for doc in documents]