Prathamesh1420 commited on
Commit
704765b
1 Parent(s): 2043c8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -33,17 +33,15 @@ if not hasattr(st, 'llm'):
33
  # Initialize tools
34
  search_tool = SerperDevTool()
35
  scrape_tool = ScrapeWebsiteTool()
36
- read_resume = FileReadTool(file_path='./content/fake_resume.md')
 
 
37
  emantic_search_resume = MDXSearchTool(
38
  config=dict(
39
  llm=dict(
40
  provider="ollama",
41
  config=dict(
42
  model="llama2",
43
- # Optional parameters
44
- # temperature=0.5,
45
- # top_p=1,
46
- # stream=True,
47
  ),
48
  ),
49
  embedder=dict(
@@ -51,12 +49,12 @@ emantic_search_resume = MDXSearchTool(
51
  config=dict(
52
  model="models/embedding-001",
53
  task_type="retrieval_document",
54
- # Optional title
55
- # title="Embeddings",
56
  ),
57
  ),
58
  ),
59
- mdx='./content/fake_resume.md' # Ensure this path is correct
 
 
60
  )
61
  # Define agents
62
  researcher = Agent(
 
33
  # Initialize tools
34
  search_tool = SerperDevTool()
35
  scrape_tool = ScrapeWebsiteTool()
36
+ read_resume = FileReadTool(file_path='./fake_resume.md')
37
+
38
+ # Ensure the path to the resume and configuration are correct
39
  emantic_search_resume = MDXSearchTool(
40
  config=dict(
41
  llm=dict(
42
  provider="ollama",
43
  config=dict(
44
  model="llama2",
 
 
 
 
45
  ),
46
  ),
47
  embedder=dict(
 
49
  config=dict(
50
  model="models/embedding-001",
51
  task_type="retrieval_document",
 
 
52
  ),
53
  ),
54
  ),
55
+ mdx='./fake_resume.md' # Ensure this path is correct
56
+ )
57
+
58
  )
59
  # Define agents
60
  researcher = Agent(