Jul 10, 2024
SL bu to end the terminal session without killing it.main.py.Lang Chain Community and Crew AI.
from lang_chain_community.llms import Llama
from crew_ai import Agent, Task, Crew, Process
pip install crew_ai to get necessary packages.Llama 3 or specify the version like Llama 3 8B.verbose=True, allow_delegation=False, assign the LLM model.crew = Crew(agents=[classifier, responder], tasks=[task1, task2], verbose=2, process=Process.SEQUENTIAL)
output = crew.kickoff()
print(output)
API base, model name, API key).