File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 28
28
29
29
LLM_CHANGE_AGENT_MODULE = pystow .module ("llm_change_agent" )
30
30
VECTOR_STORE = LLM_CHANGE_AGENT_MODULE .join ("vector_store" )
31
- VECTO_DB_PATH = VECTOR_STORE / "chroma.sqlite3"
31
+ VECTOR_DB_PATH = VECTOR_STORE / "chroma.sqlite3"
Original file line number Diff line number Diff line change 21
21
KGCL_SCHEMA ,
22
22
ONTODIFF_DOCS ,
23
23
OPENAI_KEY ,
24
- VECTO_DB_PATH ,
24
+ VECTOR_DB_PATH ,
25
25
VECTOR_STORE ,
26
26
)
27
27
from llm_change_agent .templates .templates import get_issue_analyzer_template , grammar_explanation
@@ -200,7 +200,7 @@ def execute_agent(llm, prompt):
200
200
# split_documents(str(schema)) + split_documents(grammar["lark"]) + split_documents(grammar["explanation"])
201
201
# )
202
202
grammar_docs_list = split_documents (grammar ["lark" ]) + split_documents (grammar ["explanation" ])
203
- if VECTO_DB_PATH .exists ():
203
+ if VECTOR_DB_PATH .exists ():
204
204
vectorstore = Chroma (
205
205
embedding_function = OpenAIEmbeddings (show_progress_bar = True ), persist_directory = str (VECTOR_STORE )
206
206
)
You can’t perform that action at this time.
0 commit comments