This project is a Customer Feedback Analysis AI Agent that generates insights and action items based on customer feedback.
It is powered by LangGraph
, Vercel AI SDK
, gpt-4o-mini
, FastAPI
, and Next.js
.
-
Clone the repository:
git clone https://github.com/ahmad2b/customer-feedback-analysis-ai-agent.git
-
Create a
.env
file based on the.env.example
file and add your API in bothagent-service
andagent-ui
directory. -
Install the dependencies for
agent-service
:cd agent-service poetry install
-
Run the development server for
agent-service
:poetry run uvicorn app.main:app --reload
-
Install the dependencies for
agent-ui
:cd agent-ui npm install # or yarn install # or pnpm install
-
Run the development server for
agent-ui
:npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 with your browser to see the result.
-
Paste your customer feedback in the input box and press
Enter
to generate insights and action items.
Agent UI inspired by Vercel Template