Skip to content

Commit

Permalink
Usage Monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Dephoh committed Dec 10, 2024
1 parent d1935d1 commit bedac8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RAG.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def RAG(llm: Any, query: str,vectorstore:PineconeVectorStore, top: int = 10, k:
# query_prompt = query_template.invoke({"query":query})
# query_response = llm.invoke(query_prompt)
# new_query = parse_xml_and_query(query=query,xml_string=query_response.content)
# logging.info(f"Old_Query: {query},New_Query: {new_query}")
logging.info(f"---\nQUERY: {query}\n---")

retrieved, _ = retrieve(query=query, vectorstore=vectorstore, k=k)
if not retrieved:
Expand Down

0 comments on commit bedac8d

Please sign in to comment.