Skip to content

Commit

Permalink
example: add perplexity like ask confirmation agent
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Aug 6, 2024
1 parent c528137 commit 6f89a1a
Show file tree
Hide file tree
Showing 5 changed files with 928 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@



```bash
pnpm i
export OPENAI_API_KEY="<your key>"
# or leave empty and use ollama (you will be prompted choice)
pnpx tsx screenpipe.ts
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dependencies": {
"@ai-sdk/openai": "^0.0.40",
"ai": "^3.3.0",
"ollama-ai-provider": "^0.11.0",
"readline": "^1.3.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.1.0"
}
}
Loading

0 comments on commit 6f89a1a

Please sign in to comment.