Skip to content

Commit

Permalink
feat: recruiter agent added
Browse files Browse the repository at this point in the history
  • Loading branch information
Prat011 committed Dec 20, 2024
1 parent 7b96ca9 commit 976ac14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/examples/advanced_agents/recruiter_agent/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
from llama_index.core.llms import ChatMessage
from llama_index.llms.openai import OpenAI
from dotenv import load_dotenv
import os

load_dotenv()
toolset = ComposioToolSet(api_key=os.getenv("COMPOSIO_API_KEY"))
tools = toolset.get_tools(apps=[App.PEOPLEDATALABS, App.GOOGLESHEETS])

llm = OpenAI(model="gpt-4o")

spreadsheetid = '14T4e0j1XsWjriQYeFMgkM2ihyvLAplPqB9q8hytytcw'
spreadsheetid = '1xG19J5DZg5TKAHeTrls5VOWm615XHeiZVS-RU0m4eVs'
# Set up prefix messages for the agent
prefix_messages = [
ChatMessage(
Expand All @@ -35,5 +36,5 @@
).as_agent()

candidate_description = 'Senior Backend developers in San Francisco with prior experience in Python and Django'
user_input = f"Create a candidate list based on the description: {candidate_description}"
user_input = f"Create a candidate list based on the description: {candidate_description}. Include all the important details required for the job."
response = agent.chat(user_input)

0 comments on commit 976ac14

Please sign in to comment.