pvanand commited on
Commit
9a796f1
1 Parent(s): a3239df

Update document_generator_v2.py

Browse files
Files changed (1) hide show
  1. document_generator_v2.py +1 -1
document_generator_v2.py CHANGED
@@ -623,7 +623,7 @@ async def generate_document_outline_endpoint(
623
  documents_list = await load_documents(documents)
624
  # Store the documents_list in the cache
625
  docs_cache_key = f"documents_list_{conversation_id}"
626
- print("saving document as cache key:"f"documents_list_{conversation_id}")
627
  await FastAPICache.get_backend().set(docs_cache_key, documents_list, expire=3600) # Cache for 1 hour
628
 
629
  # Generate document outline
 
623
  documents_list = await load_documents(documents)
624
  # Store the documents_list in the cache
625
  docs_cache_key = f"documents_list_{conversation_id}"
626
+ print("saving document as cache key:",f"documents_list_{conversation_id}")
627
  await FastAPICache.get_backend().set(docs_cache_key, documents_list, expire=3600) # Cache for 1 hour
628
 
629
  # Generate document outline