"docsearch = FAISS.from_texts(texts, embeddings, metadatas=[{\"source\": f\"www.{i}.com\"} for i in range(len(texts))])"
]
},
{
@ -58,7 +67,7 @@
{
"data": {
"text/plain": [
"' The President said that Ketanji Brown Jackson is a consensus builder and has received a broad range of support since she was nominated.'"
"' The President said that Judge Ketanji Brown Jackson is \"One of our nation’s top legal minds, who will continue Justice Breyer’s legacy of excellence.\"'"
prompt_template="""Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.
prompt_template="""Use the following pieces of context to answer the question at the end.
Ifyoudon't know the answer, just say that you don'tknow,don't try to make up an answer.