Upload full_chain.py
Browse files- full_chain.py +6 -4
full_chain.py
CHANGED
@@ -24,7 +24,9 @@ if __name__ == "__main__":
|
|
24 |
question = "How is United States fighting against tobacco addiction?"
|
25 |
rerank_type = "crossencoder"
|
26 |
llm_type = "chat"
|
27 |
-
response, links, titles, domains = get_response(question, rerank_type, llm_type)
|
28 |
-
print(response)
|
29 |
-
print(links)
|
30 |
-
print(titles)
|
|
|
|
|
|
24 |
question = "How is United States fighting against tobacco addiction?"
|
25 |
rerank_type = "crossencoder"
|
26 |
llm_type = "chat"
|
27 |
+
response, links, titles, domains, published_dates = get_response(question, rerank_type, llm_type)
|
28 |
+
print("Response:", response)
|
29 |
+
print("Links:", links)
|
30 |
+
print("Titles:", titles)
|
31 |
+
print("Domains:", domains)
|
32 |
+
print("Published Dates:", published_dates)
|