shibbir24 commited on
Commit
9007595
·
verified ·
1 Parent(s): bd5f690

Update tool_handler.py

Browse files
Files changed (1) hide show
  1. tool_handler.py +5 -1
tool_handler.py CHANGED
@@ -1,8 +1,12 @@
 
 
 
 
1
  from embedding import get_embedding, discharge_collection, trials_collection
2
  from groq import Client
3
  from serpapi import GoogleSearch
4
  import spacy
5
- from pyspur.nodes.decorator import tool_function
6
 
7
  # Initialize LLM client and spaCy
8
  client = Client(api_key="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")
 
1
+ import sys
2
+ import os
3
+ sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "pyspur/backend/pyspur"))
4
+
5
  from embedding import get_embedding, discharge_collection, trials_collection
6
  from groq import Client
7
  from serpapi import GoogleSearch
8
  import spacy
9
+ from nodes.decorator import tool_function
10
 
11
  # Initialize LLM client and spaCy
12
  client = Client(api_key="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")