We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 766c0db commit 3502aaeCopy full SHA for 3502aae
.github/workflows/clear-and-update-index.yml
@@ -1,4 +1,4 @@
1
-name: Clear index
+name: Clear and update index
2
3
on:
4
workflow_dispatch:
_scripts/clear_index.py
@@ -7,13 +7,12 @@
7
from langchain.indexes import SQLRecordManager, index
8
from langchain.vectorstores import Weaviate
9
10
-from constants import WEAVIATE_DOCS_INDEX_NAME
11
-
12
logger = logging.getLogger(__name__)
13
14
WEAVIATE_URL = os.environ["WEAVIATE_URL"]
15
WEAVIATE_API_KEY = os.environ["WEAVIATE_API_KEY"]
16
RECORD_MANAGER_DB_URL = os.environ["RECORD_MANAGER_DB_URL"]
+WEAVIATE_DOCS_INDEX_NAME = "LangChain_agent_docs"
17
18
19
def clear():
0 commit comments