Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web API for Hybrid AI #44

Open
kevinmoch opened this issue Aug 30, 2024 · 3 comments
Open

Web API for Hybrid AI #44

kevinmoch opened this issue Aug 30, 2024 · 3 comments
Labels
session Breakout session proposal track: AI Artificial Intelligence

Comments

@kevinmoch
Copy link

kevinmoch commented Aug 30, 2024

Session description

Web apps are increasingly expected to gain access to a language model. We are proposing Web APIs that allow web developers to directly access both on-device and cloud-based language models, and securely share user data between multiple apps when using these models.

The following are the APIs goals:

  • Provide web developers with a connection strategy for accessing both on-device and cloud-based models. For example, if no on-device models are available, attempt to access cloud-based models. Conversely, if cloud-based models are unavailable, try accessing on-device models.

  • Provide web developers with a storage strategy for sharing user's private data. For example, one web app saves users' private data into a local vector database. Another web app, when accessing a on-device language model, can leverage this data through a local RAG system.

The following are not within our scope of concern:

  • Design a uniform JavaScript API for accessing browser-provided language models, known as the Prompt API, which is currently being explored by Chrome's built-in AI team.

  • Issues faced by hybrid AI, such as model management, elasticity through hybrid AI, and user experience, as this topic has already been discussed in Hybrid AI Presentations in the WebML IG, and will be covered in the sessions on AI Model Management.

This session will showcase how to use our proposed API for booking flights and hotels. It will also provide specific implementation details and references for these APIs. Example source code and implementation references can be found on GitHub web-hybrid-ai.

Session goal

Explore the potential of our proposed Web API for accessing hybrid AI through use case demonstrations and API implementations. Additionally, discuss concrete steps for moving forward.

Additional session chairs (Optional)

@espinr

Who can attend

Anyone may attend (Default)

IRC channel (Optional)

#web-hybrid-ai

Other sessions where we should avoid scheduling conflicts (Optional)

#15

Instructions for meeting planners (Optional)

No response

Agenda for the meeting.

  1. Introduce the goals of the Web APIs we propose for hybrid AI (2m)
  2. Introduce Connection API (5m)
  3. Introduce Storage API (4m)
  4. A Showcase of Hybrid AI App (3m)
  5. Considerations for Connection Strategy (2m)
  6. Considerations for Storage Strategy (2m)
  7. Considerations for Native OS APIs (2m)
  8. Discuss possible resolutions, followup actions and collaborations (20m)

Links

Links to calendar

Meeting materials

@kevinmoch kevinmoch added the session Breakout session proposal label Aug 30, 2024
@tpac-breakout-bot
Copy link
Collaborator

Thank you for proposing a session!

You may update the session description as needed and at any time before the meeting, but please keep in mind that tooling relies on issue formatting: follow the instructions and leave all headings and other formatting intact in particular. Bots and W3C meeting organizers may also update the description, to fix formatting issues or add links and other relevant information. Please do not revert these changes. Feel free to use comments to raise questions.

Do not expect formal approval; W3C meeting organizers endeavor to schedule all proposed sessions that are in scope for a breakout. Actual scheduling should take place shortly before the meeting.

@ianbjacobs ianbjacobs added the track: AI Artificial Intelligence label Sep 3, 2024
@mmccool
Copy link

mmccool commented Sep 5, 2024

Thanks for proposing this topic. I was going to propose something similar but you beat me to it :). I will do my best to attend, modulo conflicts. Reach out to me in advance if you'd like to coordinate with the related session on AI Model Management #15

@espinr
Copy link

espinr commented Sep 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
session Breakout session proposal track: AI Artificial Intelligence
Projects
Status: No status
Development

No branches or pull requests

5 participants