From 8d135dba4b45d5cab1fe649aeb14e85c92ddf1db Mon Sep 17 00:00:00 2001 From: AmAzing- <115673583+AmAzing129@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:47:57 +0800 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 707767f..bb29c92 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,16 @@ A React hooks library for building AI-powered apps as simple as possible. ## Features -- [x] Support different language models by vercel [ai](https://github.com/vercel/ai). -- [x] Request status control by [@tanstack/react-query](https://github.com/tanstack/query). +- [x] Build on top of [ai](https://github.com/vercel/ai). +- [x] Manage generating state by [@tanstack/react-query](https://github.com/tanstack/query). - [x] Schema declaration and validation by [zod](https://github.com/colinhacks/zod) -- [x] Comprehensive type hints. -- [ ] Conversation development out-of-the-box. - [ ] Support custom AI requests. -## Examples +Tell the hook which model you're using, what the prompt is, stream or not, schema or not, and then get the data generated from AI. + +That's simple! -Tell the hook which model you're using, what the prompt is, stream or not, schema or not, and then get the data generated from AI. That's simple! +## Examples Use AIModelProvider to get the default query client. @@ -77,7 +77,7 @@ const { }) ``` -Use stream +Use stream. ```js const {