Skip to content

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

few changes - 2

Madhuece3f8e88f11
diff --git a/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/local_legal_agent.py b/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/local_legal_agent.py
index d34a3733..8de227b4 100644
--- a/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/local_legal_agent.py
+++ b/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/local_legal_agent.py
@@ -84,7 +84,7 @@ def main():
legal_researcher = Agent(
name="Legal Researcher",
role="Legal research specialist",
- model=Ollama(id="llama3.1"),
+ model=Ollama(id="llama3.1:8b"),
knowledge=st.session_state.knowledge_base,
search_knowledge=True,
instructions=[
@@ -98,7 +98,7 @@ def main():
contract_analyst = Agent(
name="Contract Analyst",
role="Contract analysis specialist",
- model=Ollama(id="llama3.1"),
+ model=Ollama(id="llama3.1:8b"),
knowledge=knowledge_base,
search_knowledge=True,
instructions=[
@@ -112,7 +112,7 @@ def main():
legal_strategist = Agent(
name="Legal Strategist",
role="Legal strategy specialist",
- model=Ollama(id="llama3.1"),
+ model=Ollama(id="llama3.1:8b"),
knowledge=knowledge_base,
search_knowledge=True,
instructions=[
diff --git a/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/requirements.txt b/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/requirements.txt
index a3223d46..ceca4322 100644
--- a/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/requirements.txt
+++ b/ai_agent_tutorials/ai_legal_agent_team/local_ai_legal_agent_team/requirements.txt
@@ -1,6 +1,4 @@
-phidata==2.5.33
+phidata==2.6.7
streamlit==1.40.2
qdrant-client==1.12.1
-pypdf
-python-dotenv
-ollama==0.1.6
+ollama==0.4.4