Skip to content

Commit 2b3d9e8

Browse files
perf: move imports to increase perf
Signed-off-by: thiswillbeyourgithub <[email protected]> Signed-off-by: thiswillbeyourgithub <[email protected]> Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent 6fbe51d commit 2b3d9e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wdoc/wdoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
thinking_answer_parser,
6565
tasks_list,
6666
)
67-
from wdoc.utils.prompts import prompts
6867

6968
logger.info("Starting wdoc")
7069

@@ -755,6 +754,7 @@ def _query_or_search_task(self, query: str) -> dict:
755754
split_query_parts,
756755
create_evaluate_doc_chain,
757756
)
757+
from wdoc.utils.prompts import prompts
758758

759759
# load embeddings for querying
760760
if not hasattr(self, "embedding_engine"):

0 commit comments

Comments
 (0)