Spaces:
Running
Running
Commit
•
3939169
1
Parent(s):
6517359
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,30 @@ if not hasattr(st, 'llm'):
|
|
34 |
search_tool = SerperDevTool()
|
35 |
scrape_tool = ScrapeWebsiteTool()
|
36 |
read_resume = FileReadTool(file_path='./content/fake_resume.md')
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
# Define agents
|
39 |
researcher = Agent(
|
40 |
role="Tech Job Researcher",
|
|
|
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(
|
50 |
+
provider="google",
|
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(
|
63 |
role="Tech Job Researcher",
|