Skip to content

Commit

Permalink
Merge pull request #1 from hinagiku-dev/OpenAI-API
Browse files Browse the repository at this point in the history
Feat: Support LLM API for Chat, Summary, Group Summary
  • Loading branch information
TakalaWang authored Nov 23, 2024
2 parents 2b69a4c + 1c0682a commit 543d84e
Show file tree
Hide file tree
Showing 6 changed files with 464 additions and 18 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ PUBLIC_FIREBASE_APP_ID="1:585902608528:web:908698a423651bb865c815"
PUBLIC_FIREBASE_MEASUREMENT_ID="G-QFXF543DV8"

GOOGLE_APPLICATION_CREDENTIALS="service-account-file.example.json"
OPENAI_BASE_URL="https://openai.api2d.net/v1"
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@
"eslint --fix"
]
},
"packageManager": "pnpm@9.12.3"
"packageManager": "pnpm@9.12.3",
"dependencies": {
"openai": "^4.73.0",
"zod": "^3.23.8"
}
}
165 changes: 148 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 543d84e

Please sign in to comment.