https://github.com/contactvaibhavi/hyper-personalised-agent
Hyper-personalised agentic system to aggregate, reason and plan over multiple input streams
https://github.com/contactvaibhavi/hyper-personalised-agent
agent planning-algorithms reasoning-models retrieval-augmented-generation
Last synced: 7 days ago
JSON representation
Hyper-personalised agentic system to aggregate, reason and plan over multiple input streams
- Host: GitHub
- URL: https://github.com/contactvaibhavi/hyper-personalised-agent
- Owner: contactvaibhavi
- Created: 2024-11-02T09:45:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-06-09T02:40:55.000Z (10 days ago)
- Last Synced: 2026-06-09T04:25:54.843Z (10 days ago)
- Topics: agent, planning-algorithms, reasoning-models, retrieval-augmented-generation
- Language: Python
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hyper-personalised Agent
### 06 - [Journals ingestion](./docs/supernote-to-hyper-personalised-agent.md)
### 06 - [Pattern-Trigger](./docs/pattern-trigger.md)
## Installation
### macOS
- Setup python environment:
```bash
python3 -m venv env
source env/bin/activate
pip3 install --upgrade pip
pip3 install psycopg2-binary
pip3 install -r requirements.txt
```
- Install [Postgresql](https://postgresapp.com/downloads.html)
```bash
echo "POSTGRES_USERNAME=" >> .env
echo "POSTGRES_PASSWORD=" >> .env
alembic upgrade head # Apply db migrations
```
- Generate [OpenAI API Key](https://platform.openai.com/docs/quickstart)
```bash
echo "OPENAI_API_KEY=" >> .env
```
- Run the server locally at [localhost](http://localhost:8000)
```bash
python3 app/main.py
```
## API
Use [Postman Collection](docs/postman.json) to run the API
- Create user `/api/v1/auth/register`
```bash
curl -XPOST 'http://localhost:8000/api/v1/auth/register' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_name": "John Doe",
"user_age": 42,
"user_password": "abcd1234",
"user_email": "abcd@xyz.com"
}'
```
- Create journal entrys `/api/v1/journal/create`
```bash
curl -XPOST 'http://localhost:8000/api/v1/journal/create' \
--header 'Content-Type: application/json' \
--data '{
"user_id": 0,
"content": "Today was a very good day",
"date": "2024-12-08"
}'
curl -XPOST 'http://localhost:8000/api/v1/journal/create' \
--header 'Content-Type: application/json' \
--data '{
"user_id": 0,
"content": "Today was a bad day",
"date": "2024-12-07"
}'
```
- Summarise with LLM `/api/v1/summarise`
```bash
curl -XPOST 'http://localhost:8000/api/v1/llm/summarise' \
--header 'Content-Type: application/json' \
--data '{
"user_id": 0,
"days": [
"2024-12-08",
"2024-12-06"
]
}'
```