chat_history = []
query = "What did the president say about Ketanji Brown Jackson"
result = qa({"question": query, "chat_history": chat_history})
The President nominated Circuit Court of Appeals Judge Ketanji Brown Jackson to serve on the United States Supreme Court. He described her as one of the nation's top legal minds, a former top litigator in private practice, a former federal public defender, and a consensus builder. He also mentioned that she has received a broad range of support from the Fraternal Order of Police to former judges appointed by Democrats and Republicans.
chat_history = [(query, result["answer"])]
query = "Did he mention who she suceeded"
result = qa({"question": query, "chat_history": chat_history})
The context does not provide information on who Ketanji Brown Jackson succeeded on the United States Supreme Court.
previous
Agent
next
Few Shot Examples
 Contents
  
ConversationalRetrievalChain with streaming to stdout
By Harrison Chase
    
      © Copyright 2023, Harrison Chase.
      
  Last updated on Mar 24, 2023.