Paperboxiv commited on
Commit
30d0a35
1 Parent(s): f99882d
.chroma/index/id_to_uuid_11b6691c-c5ae-4dcb-9a36-031f018be88c.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b701c0b175607f59ca654ecb25a71f4ec753997212a8ee8595d008fba1acb6ca
3
+ size 320
.chroma/index/id_to_uuid_9ff10bd3-5c9f-4119-88ff-cff8fc6351a4.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9387d90ab5d5bdba1969b7194ca765cc1b3d63e9643dcd7af697f12fb91d8314
3
+ size 316
.chroma/index/id_to_uuid_e49e0fe9-644b-4cb1-8080-2c335b57ba59.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff35774ad2f3b2cedec75e176ab1828ba01488636e5d97ff9c08a81680d0cd76
3
+ size 317
.chroma/index/index_11b6691c-c5ae-4dcb-9a36-031f018be88c.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:472f86a7b39407e04b69f67de64c4208d9b6244b86a2a8725662cc813c1dc3bc
3
+ size 56688
.chroma/index/index_9ff10bd3-5c9f-4119-88ff-cff8fc6351a4.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:472f86a7b39407e04b69f67de64c4208d9b6244b86a2a8725662cc813c1dc3bc
3
+ size 56688
.chroma/index/index_e49e0fe9-644b-4cb1-8080-2c335b57ba59.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:472f86a7b39407e04b69f67de64c4208d9b6244b86a2a8725662cc813c1dc3bc
3
+ size 56688
.chroma/index/index_metadata_11b6691c-c5ae-4dcb-9a36-031f018be88c.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:267c40d3d0d5ca9cd0789b30b7eb2f11cf8135e659bfa4812f0a1294cb453407
3
+ size 73
.chroma/index/index_metadata_9ff10bd3-5c9f-4119-88ff-cff8fc6351a4.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a702af3ffac130ee77c3d7b16bf5bd4fbe1db190b4fa8977e3002464e4ef44
3
+ size 73
.chroma/index/index_metadata_e49e0fe9-644b-4cb1-8080-2c335b57ba59.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92c4bb1f570ffe00dc2cc17d062721bfb6b7087efe7e0d06f2d41ff09c75eae4
3
+ size 73
.chroma/index/uuid_to_id_11b6691c-c5ae-4dcb-9a36-031f018be88c.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e6c4ea3ff7698b737b2179e68260149eda7f0723d9a121196ce57a9a70553a4
3
+ size 349
.chroma/index/uuid_to_id_9ff10bd3-5c9f-4119-88ff-cff8fc6351a4.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:196544e742f43a2beffe0ae719856171413f7960f61921dafbf16c93bba97bc0
3
+ size 349
.chroma/index/uuid_to_id_e49e0fe9-644b-4cb1-8080-2c335b57ba59.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fa74762a573db39f968e77d1bdcf48a1bacf9b121331de5bbb023b48fb7beb3
3
+ size 349
app.py CHANGED
@@ -59,9 +59,6 @@ texts = doc_split("./资治通鉴_1_残缺.txt")
59
  docsearch = doc_vectorize((texts))
60
 
61
  def openai_reply(word1, word2, word3, temp, file):
62
- if file:
63
- texts = doc_split(file)
64
- docsearch = doc_vectorize((texts))
65
  words = word1 + "*****" + word2 + "*****" + word3
66
  # 文本相似查找,最终结果是一个列表
67
  docs = docsearch.similarity_search(words)
 
59
  docsearch = doc_vectorize((texts))
60
 
61
  def openai_reply(word1, word2, word3, temp, file):
 
 
 
62
  words = word1 + "*****" + word2 + "*****" + word3
63
  # 文本相似查找,最终结果是一个列表
64
  docs = docsearch.similarity_search(words)
tempCodeRunnerFile.py ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ as file1:
2
+ # content1 = file1.read()