Skip to content

Commit 764c22f

Browse files
doc(apps/jai): correct jAIPrompt to jAIPrompts in readme (#206)
## Description This fixes inconsistencies where jAIPrompt (singular) is referenced instead of the correct jAIPrompts (plural) as used in the actual code implementation. ## Related Issue Fixes #205 ## Screenshots/Screencasts <img width="742" height="126" alt="image" src="https://github.com/user-attachments/assets/f75334a7-9e05-4c80-9ffe-7508453137ac" /> ## Used feature search and replace
1 parent ba805bb commit 764c22f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/jai/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ apps/jai/
5050
Main module interface that exports all ✨jAI utilities:
5151

5252
```javascript
53-
export { jAIPrompt, formatMessage, model, vectorStore };
53+
export { jAIPrompts, formatMessage, model, vectorStore };
5454
```
5555

5656
#### `lib/jai-prompts.js`
@@ -148,7 +148,7 @@ Dedicated endpoint for AI-powered word definitions that:
148148

149149
<!-- ### 3. Follow-up Chat API (`src/pages/api/jai/follow-up-chat.js`)
150150
151-
Imports all four core utilities (`jAIPrompt`, `model`, `formatMessage`, `vectorStore`) for real-time AI interactions. Powers the follow-up chat feature with semantic search for relevant context, conversation history management, and streaming AI response generation. -->
151+
Imports all four core utilities (`jAIPrompts`, `model`, `formatMessage`, `vectorStore`) for real-time AI interactions. Powers the follow-up chat feature with semantic search for relevant context, conversation history management, and streaming AI response generation. -->
152152

153153
### Integration Flow
154154

0 commit comments

Comments
 (0)