markprompt-js
markprompt-js copied to clipboard
JavaScript client libraries for Markprompt
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
**Is your feature request related to a problem? Please describe.** Long prompts are hard to read back when revisiting a conversation because they cannot be formatted in any way. **Describe...
**Is your feature request related to a problem? Please describe.** We should probably use two different names for `submitChat` from the `core` and `react` packages, as they have different APIs....
We should save the given feedback for a message to the `messages` in the `useChatStore` hook. This helps with: 1. Easy to show/sync with the UI 2. Mitigates abuse (only...
**Is your feature request related to a problem? Please describe.** Cf. https://vercel.com/blog/ai-sdk-3-generative-ui
**Is your feature request related to a problem? Please describe.** [Video](https://www.loom.com/embed/571ecd3c4cca4a50b32db81feb83adae?sid=f93e8be3-3b87-404e-80ba-806c42f97bec&unfurl=blocks)
**Describe the bug** When React strict mode is enabled, the response gets cancelled when triggering from search. **To Reproduce** Steps to reproduce the behavior: 1. Create a Next.js project with...
**Is your feature request related to a problem? Please describe.** In the React component, allow users to provider their own Markdown components (e.g. for images or links), to the Answer...
**Is your feature request related to a problem? Please describe.** We should offer the possibility to reset / delete a conversation.
**Is your feature request related to a problem? Please describe.** When the API is down, it both shows the banner and the LLM-generated message:  We should not show the...