mbudisic commited on
Commit
cf4f6d6
·
1 Parent(s): 23f7557
Files changed (2) hide show
  1. TODO.md +1 -1
  2. pstuts_rag/pstuts_rag/datastore.py +2 -1
TODO.md CHANGED
@@ -4,7 +4,7 @@
4
  - `./app.py:192: # TODO: Make the step label update instead of add`
5
  - `./app.py:262:# TODO: Clean up imports.`
6
  - `./pstuts_rag/pstuts_rag/datastore.py:26:# TODO: Write MCP server that ingests `mp4` folder`
7
- - `./pstuts_rag/pstuts_rag/datastore.py:65:# TODO: accumulate transcripts of videos when loading, summarize each, then summarize summaries to get a description of the dataset for the prompt`
8
  - `./pstuts_rag/pstuts_rag/nodes.py:113:# TODO More robust generation of queries - multiquery launch`
9
  - `./pstuts_rag/pstuts_rag/nodes.py:428:# TODO: Produce Markdown artifact with embedded references`
10
  - `./pstuts_rag/pstuts_rag/nodes.py:429:# TODO: Consider reviewing the document and interspersing the links based on their descriptions where most needed`
 
4
  - `./app.py:192: # TODO: Make the step label update instead of add`
5
  - `./app.py:262:# TODO: Clean up imports.`
6
  - `./pstuts_rag/pstuts_rag/datastore.py:26:# TODO: Write MCP server that ingests `mp4` folder`
7
+ - `./pstuts_rag/pstuts_rag/datastore.py:66:# TODO: accumulate transcripts of videos when loading, summarize each, then summarize summaries to get a description of the dataset for the prompt`
8
  - `./pstuts_rag/pstuts_rag/nodes.py:113:# TODO More robust generation of queries - multiquery launch`
9
  - `./pstuts_rag/pstuts_rag/nodes.py:428:# TODO: Produce Markdown artifact with embedded references`
10
  - `./pstuts_rag/pstuts_rag/nodes.py:429:# TODO: Consider reviewing the document and interspersing the links based on their descriptions where most needed`
pstuts_rag/pstuts_rag/datastore.py CHANGED
@@ -25,6 +25,7 @@ from pstuts_rag.utils import batch, flatten, get_embeddings_api
25
 
26
  # TODO: Write MCP server that ingests `mp4` folder
27
 
 
28
  class QdrantClientSingleton:
29
  """
30
  Thread-safe singleton for QdrantClient. Ignores path changes after first initialization.
@@ -44,7 +45,7 @@ class QdrantClientSingleton:
44
  )
45
  from qdrant_client import QdrantClient
46
 
47
- with cls._lock:Add a tool to generate the markdown artifact
48
  if cls._instance is None:
49
  if path is None:
50
  cls._instance = QdrantClient(location=":memory:")
 
25
 
26
  # TODO: Write MCP server that ingests `mp4` folder
27
 
28
+
29
  class QdrantClientSingleton:
30
  """
31
  Thread-safe singleton for QdrantClient. Ignores path changes after first initialization.
 
45
  )
46
  from qdrant_client import QdrantClient
47
 
48
+ with cls._lock:
49
  if cls._instance is None:
50
  if path is None:
51
  cls._instance = QdrantClient(location=":memory:")