Spaces:
Sleeping
Sleeping
guangliang.yin commited on
Commit ·
2a58aaa
1
Parent(s): 683d82e
add log 2 bugfix -4:添加日志看一下doc有几个
Browse files
app.py
CHANGED
|
@@ -27,6 +27,9 @@ def web_loader(url_list, openai_key, zilliz_uri, user, password):
|
|
| 27 |
|
| 28 |
print("docs------->:", docs)
|
| 29 |
|
|
|
|
|
|
|
|
|
|
| 30 |
docsearch = Zilliz.from_documents(
|
| 31 |
docs,
|
| 32 |
embedding=embeddings,
|
|
|
|
| 27 |
|
| 28 |
print("docs------->:", docs)
|
| 29 |
|
| 30 |
+
texts = [d.page_content for d in docs]
|
| 31 |
+
print("len(texts)------->:", len(texts))
|
| 32 |
+
|
| 33 |
docsearch = Zilliz.from_documents(
|
| 34 |
docs,
|
| 35 |
embedding=embeddings,
|