Skip to content

Commit 31ddb77

Browse files
author
ajosh0504
committed
Pre-commit checks pass
1 parent 0557c1c commit 31ddb77

20 files changed

+10
-22
lines changed

apps/RT-voice-ts-store-agent/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ yarn-error.log*
2424

2525
# typescript
2626
*.tsbuildinfo
27-
next-env.d.ts
27+
next-env.d.ts

apps/RT-voice-ts-store-agent/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ To get started with the Voice Grocery Assistant:
7070
3. Run the following script to seed the database with products and its vectorized embeddings for semantic search/full text search.
7171
```
7272
npm run seed
73-
```
73+
```
7474
3. Build and run the application:
7575
```bash
7676
npm run dev

apps/RT-voice-ts-store-agent/app/api/orders/route.ts

-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ export async function POST(request: Request) {
3636
return NextResponse.json({ error: "Internal Server Error" }, { status: 500 })
3737
}
3838
}
39-

apps/RT-voice-ts-store-agent/app/api/products/route.ts

-1
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,3 @@ export async function GET(request: Request) {
254254
return NextResponse.json({ error: "Internal Server Error" }, { status: 500 })
255255
}
256256
}
257-

apps/RT-voice-ts-store-agent/app/api/session/route.ts

-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ export async function POST() {
3535
return NextResponse.json({ error: "Failed to fetch session data" }, { status: 500 })
3636
}
3737
}
38-

apps/RT-voice-ts-store-agent/app/layout.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ export default function RootLayout({
2727
</html>
2828
)
2929
}
30-

apps/RT-voice-ts-store-agent/app/page.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -414,4 +414,3 @@ export default function VoiceGroceryDelivery() {
414414
</div>
415415
)
416416
}
417-

apps/RT-voice-ts-store-agent/components.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"hooks": "@/hooks"
1919
},
2020
"iconLibrary": "lucide"
21-
}
21+
}

apps/RT-voice-ts-store-agent/components/explanation-svgs.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ export const ConversationSVG = () => (
5252
<line x1="9" y1="14" x2="15" y2="14"></line>
5353
</svg>
5454
)
55-

apps/RT-voice-ts-store-agent/components/welcome-popup.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ export const WelcomePopup: React.FC<WelcomePopupProps> = ({ isOpen, onClose }) =
3535
</Dialog>
3636
)
3737
}
38-

apps/RT-voice-ts-store-agent/data/ai_shop.products.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,4 +645,4 @@
645645
"category": "Spices",
646646
"emoji": "🍰",
647647
"process": true
648-
}]
648+
}]

apps/RT-voice-ts-store-agent/hooks/use-webrtc-audio.ts

-1
Original file line numberDiff line numberDiff line change
@@ -431,4 +431,3 @@ export default function useWebRTCAudioSession(voice: string, tools?: Tool[]): Us
431431
conversation,
432432
}
433433
}
434-

apps/RT-voice-ts-store-agent/lib/ecommerce-tools.ts

-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ export const ecommerceTools = {
6767
}
6868
},
6969
}
70-

apps/RT-voice-ts-store-agent/lib/mongodb.ts

-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ if (process.env.NODE_ENV === "development") {
2626
}
2727

2828
export default clientPromise
29-

apps/RT-voice-ts-store-agent/mongodb-seed.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/**
44
* MongoDB Seed Script for AI Shop Products
55
*
6-
* This script loads product data from a JSON file, computes embeddings for each document
7-
* using the title and description with the Vercel AI SDK, and then upserts each document
6+
* This script loads product data from a JSON file, computes embeddings for each document
7+
* using the title and description with the Vercel AI SDK, and then upserts each document
88
* into the MongoDB collection.
99
*
1010
* It uses the MongoDB client from the project's lib/mongodb.ts file.

apps/RT-voice-ts-store-agent/public/favicon.svg

-1
Loading
Loading
Loading

apps/RT-voice-ts-store-agent/scripts/seed-db.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/**
44
* Seed Script for AI Shop Products and Index Creation
55
*
6-
* This script loads product data from a JSON file, computes embeddings for each document
7-
* using the Vercel AI SDK, seeds (upserts) each document into the "products" collection in the
6+
* This script loads product data from a JSON file, computes embeddings for each document
7+
* using the Vercel AI SDK, seeds (upserts) each document into the "products" collection in the
88
* "ai_shop" database, and then creates both an Atlas Search index and a vector search index.
99
*
1010
* It uses a dedicated MongoDB client instance created with custom appName settings.

apps/RT-voice-ts-store-agent/v0-user-next.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ const nextConfig = {
1515
}
1616

1717
module.exports = nextConfig
18-

0 commit comments

Comments
 (0)