Create docs AI provider and transport for AI SDK useChat

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.46.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      The Docs AI Provider will just have one model which will be created with OpenAICompatibleChatLanguageModel.This should require little additional configuration assuming the API is fully compatible with the OpenAI specifications.

      The provider will then be consumed by the useChat hook using a custom chat transport which is the recommended approach to using it on the client side.

      useChat will use the docsProviderTransport and provide the core state management for our chat UI, like below.

            Assignee:
            Gagik Amaryan
            Reporter:
            Gagik Amaryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: