averye-duke commited on
Commit
c83d30c
·
1 Parent(s): c86798e

Fix comments

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,7 +44,7 @@ texts = [
44
 
45
  # Chunking by sentence
46
  sentences = [sentence for paragraph in texts for sentence in paragraph.split(". ")]
47
- # The above code snippet was generated by ChatGPT 5.0 at 3:31p 11/17/25
48
 
49
  # Generate embeddings
50
  from sentence_transformers import SentenceTransformer
@@ -54,7 +54,7 @@ embeddings = model.encode(sentences)
54
  # Contacting client
55
  client = chromadb.PersistentClient(path="./chromadb")
56
  collection = client.get_or_create_collection(name="my_collection")
57
- # The above snippet was created by chatGPT 5.0 at 2:40p on 11/17/25 to save the chromadb
58
  collection.add(documents=sentences, embeddings=embeddings.tolist(), ids=[str(i) for i in range(len(sentences))])
59
 
60
  # Define a search function
 
44
 
45
  # Chunking by sentence
46
  sentences = [sentence for paragraph in texts for sentence in paragraph.split(". ")]
47
+ # The above code snippet was generated by ChatGPT 5.1 at 3:31p 11/17/25
48
 
49
  # Generate embeddings
50
  from sentence_transformers import SentenceTransformer
 
54
  # Contacting client
55
  client = chromadb.PersistentClient(path="./chromadb")
56
  collection = client.get_or_create_collection(name="my_collection")
57
+ # The above snippet was created by chatGPT 5.1 at 2:40p on 11/17/25 to save the chromadb
58
  collection.add(documents=sentences, embeddings=embeddings.tolist(), ids=[str(i) for i in range(len(sentences))])
59
 
60
  # Define a search function