ai

Build AI-powered applications with React, Svelte, Vue, and Solid

OTHER License

Downloads
18.6M
Stars
7.6K
Committers
189

Bot releases are visible (Hide)

ai - [email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • 9b89c4d: react/use-assistant: Expose setInput
  • 75751c9: ai/react: Add experimental_onToolCall to useChat.
ai - [email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • ac503e0: ai/solid: add chat request options to useChat
  • b78a73e: Add GoogleGenerativeAIStream for Gemini support
  • 5220336: ai/svelte: Add experimental_onToolCall to useChat.
  • ef99062: Add support for the Anthropic message API
  • 5220336: Add experimental_onToolCall to OpenAIStream.
  • ac503e0: ai/vue: add chat request options to useChat
ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 5a9ae2e: ai/prompt: add experimental_buildOpenAIMessages to validate and cast AI SDK messages to OpenAI messages
ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 07a679c: Add data message support to useAssistant & assistantResponse.
  • fbae595: ai/react: api functions are no longer used as a cache key in useChat
ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 0fd1205: ai/vue: Add complex response parsing and StreamData support to useCompletion
  • a7dc746: experimental_useAssistant: Expose extra fetch options
  • 3dcf01e: ai/react Add data support to useCompletion
  • 0c3b338: ai/svelte: Add complex response parsing and StreamData support to useCompletion
  • 8284777: ai/solid: Add complex response parsing and StreamData support to useCompletion
ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • df1ad33: ai/vue: Add complex response parsing and StreamData support to useChat
  • 3ff8a56: Add generateId to use-chat params to allow overriding message ID generation
  • 6c2a49c: ai/react experimental_useAssistant() submit can be called without an event
  • 8b4f7d1: ai/react: Add complex response parsing and StreamData support to useCompletion
ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 1e61c69: chore: specify the minimum react version to 18
  • 6aec2d2: Expose threadId in useAssistant
  • c2369df: Add AWS Bedrock support
  • 223fde3: ai/svelte: Add complex response parsing and StreamData support to useChat
ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 69ca8f5: ai/react: add experimental_useAssistant hook and experimental_AssistantResponse
  • 3e2299e: experimental_StreamData/StreamingReactResponse: optimize parsing, improve types
  • 70bd2ac: ai/solid: add experimental_StreamData support to useChat

Proper documentation for the new features will be ready in the near future, but in the meantime you can refer to this document and the accompanying example for the Assistants API, and this example for working with the new data API for vision.

Thanks @lgrammel for the great work in this release!

ai - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 5a04321: add StreamData support to StreamingReactResponse, add client-side data API to react/use-chat
ai - [email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • 4529831: ai/react: Do not store initialMessages in useState, patches a regression with initialMessages
  • db5378c: experimental_StreamData: fix data type to be JSONValue
ai - [email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

ai - [email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • 424d5ee: experimental_StreamData: fix trailing newline parsing bug in decoder
  • c364c6a: cohere: fix closing cohere stream, avoids response from hanging
ai - [email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • 699552d: add experimental_StreamingReactResponse
ai - [email protected]

Published by github-actions[bot] almost 1 year ago

Patch Changes

  • 0bd27f6: react/use-chat: allow client-side handling of function call without following response
ai - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 5ed581d: Use interface instead of type for Message to allow declaration merging
  • 9adec1e: vue and solid: fix including function_call and name fields in subsequent requests
ai - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • e569688: Fix for #637, resync interfaces
ai - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • c5d1857: fix: return complete response in onFinish when onCompletion isn't passed
  • c5d1857: replicate-stream: fix types for [email protected]+
ai - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

ai - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • a4a997f: all providers: reset error message on (re)submission
ai - [email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • cb181b4: ai/vue: wrap body with unref to support reactivity