Skip to content

upendrasharmanielseniq/Agentic-Brand-Classifier

Repository files navigation

Prompt Classifier Agent

An AI-powered agent for classifying prompts using DSPy and ollama.

Setup

  1. Clone the repository

  2. Install dependencies:

    pip install -r requirements.txt
  3. Copy .env and fill in your API keys

  4. Configure ollama locally on mac run brew install ollama

    in another terminal(start ollama server locally and keep it running) ollama serve

    Now pull the model ollama pull phi3

Environment Variables

  • DSPY_MODEL: The DSPy model to use (default: ollama)
  • DSPY_MODEL_NAME: The specific model name
  • SERPAPI_API_KEY: API key for SerpAPI integration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages