Skip to content

Commit

Permalink
chore: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Sep 19, 2024
1 parent 89e627d commit b161498
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions examples/typescript/pipe-phi3.5-engineering-team-logs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
### phi3.5 engineering team logs

this pipe automates logging of engineering work to notion using screenpipe and phi3.5 ai.

#### setup

1. install screenpipe and git clone this repo
```
git clone https://github.com/mediar-ai/screenpipe.git
cd screenpipe
```

2. install and run ollama:
- follow instructions at https://github.com/jmorganca/ollama
- run `ollama run phi3.5`

3. set up notion:
- create a notion integration: https://www.notion.so/my-integrations
- create a database with properties: Title, Description (rich text), Tags (multi-select), Date
- share database with your integration

4. set environment variables:
```
export SCREENPIPE_NOTION_API_KEY=your_notion_api_key
export SCREENPIPE_NOTION_DATABASE_ID=your_notion_database_id
```

5. run the pipe:
```
screenpipe pipe download ./examples/typescript/pipe-phi3.5-engineering-team-logs
screenpipe pipe enable phi3.5-engineering-team-logs
screenpipe
```

the pipe will run continuously, logging engineering work to your notion database every hour.

#### customization

- adjust `INTERVAL` in pipe.ts to change logging frequency
- modify the prompt to refine ai output

0 comments on commit b161498

Please sign in to comment.