Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,35 @@ logger = logging.getLogger(__name__)
|
|
| 9 |
mcp = FastMCP("Jobicy Remote Jobs Agent")
|
| 10 |
|
| 11 |
# Remaining filter options
|
| 12 |
-
COMPANY_INDUSTRIES = [
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
@mcp.tool(name="search_jobs")
|
| 16 |
def search_jobs_tool(industry: str = "", country: str = "", keyword: str = "", limit: int = 20) -> dict:
|
|
|
|
| 9 |
mcp = FastMCP("Jobicy Remote Jobs Agent")
|
| 10 |
|
| 11 |
# Remaining filter options
|
| 12 |
+
COMPANY_INDUSTRIES = [
|
| 13 |
+
("", ""),
|
| 14 |
+
("Business Development", "business"),
|
| 15 |
+
("Content & Editorial", "copywriting"),
|
| 16 |
+
("Creative & Design", "design-multimedia"),
|
| 17 |
+
("Customer Success", "supporting"),
|
| 18 |
+
("Data Science & Analytics", "data-science"),
|
| 19 |
+
("DevOps & Infrastructure", "admin"),
|
| 20 |
+
("Finance & Accounting", "accounting-finance"),
|
| 21 |
+
("HR & Recruiting", "hr"),
|
| 22 |
+
("Legal & Compliance", "legal"),
|
| 23 |
+
("Marketing & Sales", "marketing"),
|
| 24 |
+
("Product & Operations", "management"),
|
| 25 |
+
("Programming", "dev"),
|
| 26 |
+
("Sales", "seller"),
|
| 27 |
+
("SEO", "seo"),
|
| 28 |
+
("Social Media Marketing", "smm"),
|
| 29 |
+
("Software Engineering", "engineering"),
|
| 30 |
+
("Technical Support", "technical-support"),
|
| 31 |
+
("Web & App Design", "web-app-design"),
|
| 32 |
+
]
|
| 33 |
+
COUNTRY_CHOICES = [
|
| 34 |
+
"APAC", "EMEA", "LATAM", "Argentina", "Australia", "Austria", "Belgium", "Brazil", "Bulgaria",
|
| 35 |
+
"Canada", "China", "Costa Rica", "Croatia", "Cyprus", "Czechia", "Denmark", "Estonia", "Europe",
|
| 36 |
+
"Finland", "France", "Germany", "Greece", "Hungary", "Ireland", "Israel", "Italy", "Japan",
|
| 37 |
+
"Latvia", "Lithuania", "Mexico", "Netherlands", "New Zealand", "Norway", "Philippines", "Poland",
|
| 38 |
+
"Portugal", "Romania", "Singapore", "Slovakia", "Slovenia", "South Korea", "Spain", "Sweden",
|
| 39 |
+
"Switzerland", "Thailand", "Türkiye", "UAE", "UK", "USA", "Vietnam"
|
| 40 |
+
]
|
| 41 |
|
| 42 |
@mcp.tool(name="search_jobs")
|
| 43 |
def search_jobs_tool(industry: str = "", country: str = "", keyword: str = "", limit: int = 20) -> dict:
|