Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Create sample CAP app #184

Merged
merged 34 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
35db8ef
feat: add cap app with openai chat completion
ZhongpinWang Sep 27, 2024
c8003ac
docs: add README
ZhongpinWang Sep 27, 2024
9e50c7d
refactor: entity and service name
ZhongpinWang Sep 27, 2024
5f09d1a
feat: add ai-api and orchestration
ZhongpinWang Sep 30, 2024
83646af
docs: add missing title
ZhongpinWang Sep 30, 2024
a7a5a7a
fix: use req.reply
ZhongpinWang Sep 30, 2024
65aa111
fix: remove cdsrc private
ZhongpinWang Oct 1, 2024
50a74a4
fix: deps
ZhongpinWang Oct 1, 2024
6fa1146
fix: lint
ZhongpinWang Oct 1, 2024
7f8c9f3
chore: small changes in cap gitignore
ZhongpinWang Oct 1, 2024
0b48529
docs: update README.md
ZhongpinWang Oct 1, 2024
03641d8
docs: add toc
ZhongpinWang Oct 1, 2024
dc5a3c5
docs: rename
ZhongpinWang Oct 1, 2024
9588531
fix: Changes from lint
Oct 1, 2024
efbd591
docs: small changes
ZhongpinWang Oct 1, 2024
9c3dfb0
chore: add changeset
ZhongpinWang Oct 1, 2024
50b2eab
refactor: use actions instead of entity projection
ZhongpinWang Oct 4, 2024
6bfaa16
chore: format cds
ZhongpinWang Oct 4, 2024
c86a07c
review
ZhongpinWang Oct 7, 2024
77f431b
Merge branch 'main' into feat-create-sample-cap-app
ZhongpinWang Oct 7, 2024
9b889f7
review
ZhongpinWang Oct 7, 2024
551d6b1
docs: update README.md
ZhongpinWang Oct 7, 2024
f4f71fa
fix: lint
ZhongpinWang Oct 7, 2024
88823d2
fix: lock
ZhongpinWang Oct 7, 2024
fd9b4bc
fix: remove changeset
ZhongpinWang Oct 7, 2024
e46f829
chore: remove db
ZhongpinWang Oct 7, 2024
cd0d20d
chore: return string
ZhongpinWang Oct 7, 2024
6814e8a
chore: move cap deps to sample-cap
ZhongpinWang Oct 7, 2024
c63aee9
chore: remove use less import
ZhongpinWang Oct 7, 2024
fd220a5
Merge branch 'main' into feat-create-sample-cap-app
ZhongpinWang Oct 7, 2024
dc62111
Merge branch 'main' into feat-create-sample-cap-app
ZhongpinWang Oct 8, 2024
58cdfb6
Merge branch 'main' into feat-create-sample-cap-app
ZhongpinWang Oct 9, 2024
81aa162
fix: move @cap-js/cds-types back to root package.json
ZhongpinWang Oct 9, 2024
9b1ef64
chore: remove sample cap from deps check
ZhongpinWang Oct 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sweet-lies-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sap-ai-sdk/sample-cap': patch
---

[New Functionality] Introduce a new sample application based on SAP CAP framework.
ZhongpinWang marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"type-tests": "pnpm -F=@sap-ai-sdk/type-tests",
"smoke-tests": "pnpm -F=@sap-ai-sdk/smoke-tests",
"schema-tests": "pnpm -F=@sap-ai-sdk/schema-tests",
"sample-code": "pnpm -F=@sap-ai-sdk/sample-code",
"sample-cap": "pnpm -F=@sap-ai-sdk/sample-cap",
"check:public-api": "pnpm -r check:public-api",
"check:deps": "pnpm -r -F !./tests/smoke-tests -F !./tests/schema-tests exec depcheck --ignores=\"nock,@jest/globals\" --quiet"
},
Expand All @@ -44,6 +46,9 @@
"@sap-cloud-sdk/http-client": "^3.21.0",
"@sap-cloud-sdk/openapi-generator": "^3.21.0",
"@sap-cloud-sdk/util": "^3.21.0",
"@cap-js/sqlite": "^1",
ZhongpinWang marked this conversation as resolved.
Show resolved Hide resolved
"@cap-js/cds-types": "^0.6",
ZhongpinWang marked this conversation as resolved.
Show resolved Hide resolved
"tsx": "^4.19.1",
"@types/jest": "^29.5.13",
"@types/jsonwebtoken": "^9.0.7",
"@types/mock-fs": "^4.13.4",
Expand Down
Loading