Skip to content

Priyanshupareek/FinancialAgent

Repository files navigation

AI Crew for Financial Analysis

Introduction

This project is using the CrewAI framework to automate the process of analyzing stocks in a local context.

CrewAI Framework

CrewAI is designed to facilitate the collaboration of role-playing AI agents. In this example, these agents work together to give a complete stock analysis and investment recommendation

Running the Script

  • Install Dependencies: Run poetry install --no-root.
  • Execute the Script: Run python main.py and input your idea.

Using Local Models with Ollama

This framework supports integration with local models, using Ollama

Integrating Ollama with CrewAI

  • Instantiate Ollama Model: Create an instance of the Ollama model. You can specify the model and the base URL during instantiation. For example:
from langchain.llms import Ollama
ollama_openhermes = Ollama(model="openhermes")
# Pass Ollama Model to Agents: When creating your agents within the CrewAI framework, you can pass the Ollama model as an argument to the Agent constructor. For instance:
      llm=ollama_openhermes, # Ollama model passed here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages