Re: [Uri-review] Request for Review and Registration of New URI Scheme "ai"

Graham Klyne <gk@ninebynine.org> Tue, 24 October 2023 15:12 UTC

Return-Path: <gk@ninebynine.org>
X-Original-To: uri-review@ietfa.amsl.com
Delivered-To: uri-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 428C9C14CE51 for <uri-review@ietfa.amsl.com>; Tue, 24 Oct 2023 08:12:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.197
X-Spam-Level:
X-Spam-Status: No, score=-7.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ninebynine.org header.b="sImoCQ/W"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="uuy6jD+H"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qUeM-Alv6TET for <uri-review@ietfa.amsl.com>; Tue, 24 Oct 2023 08:12:51 -0700 (PDT)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18D4DC151553 for <uri-review@ietf.org>; Tue, 24 Oct 2023 08:12:50 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E9AE03200A13; Tue, 24 Oct 2023 11:12:49 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 24 Oct 2023 11:12:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ninebynine.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1698160369; x=1698246769; bh=Mn0ThjlIuIkje4W+fpqzngqYAbRbQ3M/4Dq Kt1e7PNw=; b=sImoCQ/WPY8QQp2XkXDjntNLAJHqQz8xgpIZNFbpXRP9S/7kWkW QYWZplrrYXmUlw/L2YLR+EutN3X0J/Q21TbeEE3Uz1+XZLvuw9q9ygHRBCmfNYyw KKoqG1gvuZ5XfFFL+KXS6FWCuFX+gFc8Z0LJpTqiCwbJ+4eW6ybWi2sTuNqrsvRX p3uOtSCVtMP/7B1uSiEVh4BHA/Enqw+CSTJW3qWjhZ07znpfKe1nP9evwKsQa/p2 JtZpnyrTcFrjGhrqA4GSWmiCTySEBBMs85vMIrKZqh1lPm1BAiUc/mYPRHDnkVsp oTHauiiOV8pGHebdeEvLbQ6ctwhvbU4YLRQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1698160369; x= 1698246769; bh=Mn0ThjlIuIkje4W+fpqzngqYAbRbQ3M/4DqKt1e7PNw=; b=u uy6jD+H5x124PsMU92WNBr5x3XOK36X6a+pB8tjZMxUOukxBTjsTaNZy5CDypXsX bQwdQ8LN/xDaZt246tFttJhGH1X4cNvXPs8RzL5WnJwwciL56BwrOC3+zqPZCN6d mDxKhbT25B7e20IrHjP7pqZWc8nUZH2MblwbMr58dVHwfDBhEIGzABHSgRQErI6y XBfPR8y4pEKVDwCU6BBPOm14aSVd1xeOi911uZlthexFkwCxfJC8M+k4yjb0HMWB KsXlTmVD93O0JmoY0ZG0TQ3AQp4v4Z0uK5Q/sRSmX1z+4a6vOR8DNYuEajbdqXjJ hmDy2nBG5g90OIevbl3ng==
X-ME-Sender: <xms:8d43ZTNKsDo_ljhy2eHrfrZ5kA3pIHA6qioT-pOW040n0NZnQIIWPQ> <xme:8d43Zd-Fs0gRIgNRGvK0GRvgn3mjRiO2fP8Xje0Cbx0QVtsGlKrh1sA8VTwH66Mb1 AoGMzydbWSfOlZvU7w>
X-ME-Received: <xmr:8d43ZSSyqgEE8xjlsjYREdaASabP9peZiv_N3ZTMP2T3PJvsrJSgiry0rbC_f2IQwPIKq8ppKsZebYD5GA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeekgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpefirhgrhhgr mhcumfhlhihnvgcuoehgkhesnhhinhgvsgihnhhinhgvrdhorhhgqeenucggtffrrghtth gvrhhnpeeftdejieeiheeitedugfeltdegveeiheefjeevueegvefftefgjeejhfeguedv jeenucffohhmrghinhepihgvthhfrdhorhhgpdhnihhnvggshihnihhnvgdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgkhesnhhi nhgvsgihnhhinhgvrdhorhhg
X-ME-Proxy: <xmx:8d43ZXudzceOuPrfdh_XGqykEgt8wxTacifw6lANkke0P3TKRi3H1w> <xmx:8d43ZbdTsOF5vW_pp2ZMbpzO5JatcPwIA5NfqFD0_bYYINEvz2-0iw> <xmx:8d43ZT2r5OKt_3Zewthm3D1D5mcf-TIUbLj6teVYy0L81zB5gxXlQA> <xmx:8d43ZblvJn_FLG99C0McHAun5yYyKif2z3_2mR1c-ZoeEeP4Rat_rw>
Feedback-ID: i3b414768:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Oct 2023 11:12:48 -0400 (EDT)
Message-ID: <d6e20b29-f03b-4a7d-eddb-feee1dedcaf7@ninebynine.org>
Date: Tue, 24 Oct 2023 16:12:45 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Content-Language: en-GB
To: uri-review@ietf.org, Collin Paran <collin@professai.com>
References: <2047091996.519294.1696656878248@privateemail.com> <93ee3113-0ab2-7124-678b-cc523571e613@it.aoyama.ac.jp> <1258868613.683466.1696903560871@privateemail.com>
From: Graham Klyne <gk@ninebynine.org>
In-Reply-To: <1258868613.683466.1696903560871@privateemail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/uri-review/syY4j4JUSNPxCJSBfArxolxmoJE>
Subject: Re: [Uri-review] Request for Review and Registration of New URI Scheme "ai"
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uri-review/>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Oct 2023 15:12:55 -0000

Hi Collin,

I'm struggling to understand what is being proposed.  I have some questions, 
which somewhat overlap with concerns raised by Ted and Martin:

1. Would the intended goals be better served by a MIME content type 
registration, since the proposal seems to be about the nature of the data 
transmitted rather than the means of transmission?  I am really not sure; e.g., 
see (4) below.  For example, considering "The `ai` scheme is aimed at enabling 
real-time or near-real-time communication for streaming data among generative 
Artificial Intelligence (A.I.) applications and protocols.", I'm wondering if 
the existing ws: protocol coupled with new content-types specific to AI models 
might serve your needs.  With reference to "novel communication paradigms", I am 
also wondering if elements of RTSP might be applicable.

2. Why does this need to be a URI?  In what contexts might it be used where some 
other URI scheme might also be used?  If there are none, isn't it just a 
private-use string that happens to look like a URI?

3. What resource is actually identified by such a URI?  Most URI schemes are 
associated with some kind of mechanism (executable or administrative or 
something else) that associates a URI with some resource that it denotes.  Some 
schemes are associated with particular wire protocols (http, https, ftp, ws, 
etc.), where the identified resource is something that can be interacted with 
using said protocol.  Other schemes are associated by some non-executable 
mechanism, such as administrative delegation (e.g. urn) or as a constructed 
unique identifier (e.g. ni). In thinking about these questions, a touchstone I 
sometimes use is: what do I expect to happen if this URI is dereferenced (e.g., 
when used as an @href link in an HTML document, and the link is clicked)? 
Commonly, what one expects is that some representation of the identified 
resource may be returned.

4. What kinds of interaction with identified resources are possible or 
expected?  Are there interactions that are specific to AI applications that 
aren't allowable or implementable using existing schemes?

There don't need to be definitive answers to these questions, but I find it 
helps to think about such issues to understand how a new URI scheme might sit 
with the wider World Wide Web architecture.

#g


On 10/10/2023 03:06, Collin Paran wrote:
> Ted and Martin,
>
> I sincerely appreciate the detailed feedback from both of you! Your insights are invaluable in refining the "ai" URI scheme proposal to ensure it aligns with established guidelines and serves its intended purpose effectively. I have taken the time to review a few of the concerns raised and provided responses below:
>
> 1. General Data vs. AI Data:
>      - I understand the point Martin has raised regarding the universality of protocols like HTTP and WS, which are agnostic to the type of data they carry. The primary motivation behind proposing a specific URI scheme for AI data is to facilitate specialized communication needs of generative AI applications, especially with the advent of AI photonic compute and laser-based communications which could offer novel communication paradigms.
>
> 2. Applicability Beyond AI:
>      - I agree with the suggestion that if a new protocol surfaces from the AI communication needs, it should not be limited to AI but should be useful for other applications as well. I will reconsider the naming of the URI scheme to reflect a broader scope.
>
> 3. Authority Information:
>      - The initial proposal lacked authority information, which is crucial for identifying the party making the data available and ensuring data from multiple parties can be accommodated. I will work on including authority information in the URI scheme to address this concern.
>
> 4. Scheme Name:
>      - The suggestion to consider a more descriptive or unique scheme name like "wsai:" or "aiws:" is well taken. I will explore alternative naming options that encapsulate the essence of the protocol while not being overly restrictive to AI.
>
> 5. Grammar and Security Considerations:
>      - As earlier mentioned in response to Ted's feedback, I will work on providing ABNF definitions for the various components of the URI scheme, and outline the security considerations as required by RFC 7595.
>
> 6. Engagement with the Community:
>      - I am open to further discussions and feedback from the community to ensure the proposal meets the necessary standards and caters to the intended use cases effectively. I'm committed to making any necessary revisions based on the community's feedback.
>
> 7. Registry and Token Standardization:
>      - In line with Ted's feedback, I'm considering the establishment or adoption of registries for common models, actions, and AI types to foster common understanding and ensure the URI scheme serves its purpose effectively.
>
> I am looking forward to further discussions on the mailing list and appreciate the time and effort you both have put into reviewing the proposal and providing insightful feedback.
>
> Thanks again.
>
> Respectfully,
>
> Collin
> collin@professai.com
>
>> On 10/09/2023 5:28 PM MDT Martin J. Dürst <duerst@it.aoyama.ac.jp> wrote:
>>
>>   
>> Hello Collin, others,
>>
>> A few more comments on top of Ted's, written in a somewhat more direct
>> style.
>>
>> It's unclear to me why AI data is in any way special. Protocols such as
>> HTTP or WS don't care what data they carry, and data shouldn't care what
>> protocols it's been carried by. As an example, Web Sockets is used (I
>> guess) for search results, for stock price data, for gaming data, and so
>> on, but there's no need for anything other than a ws: scheme. Same for http.
>>
>> On the other hand, if AI would surface the need for a new protocol,
>> there's no need to limit this to AI; there's a high chance that such a
>> protocol may be useful for other applications, too. In that case, the
>> scheme name "ai" would be inappropriate.
>>
>> Your scheme proposal doesn't contain any kind of authority information
>> (that would usually be some domain name). So it's unclear how data could
>> be made available by multiple parties, or how the party making the data
>> available could be identified. This is different both from
>> "type-of-generative-ai" and from "specific-model".
>>
>> [Of course, it might be the case that this is only intended for the use
>> by a single party providing data, but that's not what URI schemes are for.]
>>
>> If indeed there is a need for an application-specific URI scheme for AI,
>> that may not be limited to your proposal. It would therefore be
>> premature to use such a short scheme name for this specific proposal;
>> maybe "wsai:" or "aiws:" or something along these lines would be more
>> appropriate (assuming that there's a need for an application-specific
>> URI scheme at all, which I strongly doubt (see my first point)).
>>
>> Regards,   Martin.
>>
>> On 2023-10-07 14:34, Collin Paran wrote:
>>> Dear IANA and URI Review Mailing List Members,
>>>
>>> I am writing to request a review and registration of a new URI Scheme, "ai", designed for facilitating communication in generative A.I. applications. The scheme is inspired by WebSockets and allows the passing of JSON data for streaming words, video data, or images between generative A.I. entities.
>>>
>>> Please find below the URI Scheme Registration Template as per the guidelines provided in RFC 4395.
>>>
>>> URI Scheme Name: ai
>>>
>>> Status: Provisional
>>>
>>> URI Scheme Syntax:
>>>       * `ai://<type-of-generative-ai>/<specific-model>/<action>?<parameters>`
>>> URI Scheme Semantics:
>>>       * The `ai` scheme is aimed at enabling real-time or near-real-time communication for streaming data among generative Artificial Intelligence (A.I.) applications and protocols.
>>> Encoding Considerations:
>>>       * UTF-8 encoding for multilingual support and binary format for multimedia data encapsulated in JSON objects.
>>> Applications/Protocols that use this URI scheme name:
>>>       * Generative A.I. applications and protocols requiring real-time or near-real-time communication for streaming data.
>>> Interoperability Considerations:
>>>       * Compatibility with existing WebSocket implementations and a standard JSON format for data communication.
>>> Security Considerations:
>>>       * Usage of Artificial Intelligence Secure (AIS) which is also interoperable with wss (WebSocket Secure) for encrypted communication and authentication mechanisms for authorized access.
>>> Contact:
>>>       * Collin Paran, collin@professai.com mailto:collin@professai.com
>>> Author/Change Controller:
>>>       * Collin Paran, collin@professai.com mailto:collin@professai.com
>>> References:
>>>       * Pending public release.
>>> I am looking forward to receiving feedback from the community and I am open to making any necessary revisions to ensure the `ai` scheme aligns with the established guidelines and standards. I am also eager to engage in discussions on the `uri-review@ietf.org` mailing list and other relevant forums as appropriate.
>>>
>>> Thank you for your time and consideration.
>>>
>>> Warm regards,
>>>
>>> Collin Paran
>>> collin@professai.com
>>>    
>>>
>>>
>>> _______________________________________________
>>> Uri-review mailing list
>>> Uri-review@ietf.org
>>> https://www.ietf.org/mailman/listinfo/uri-review
> _______________________________________________
> Uri-review mailing list
> Uri-review@ietf.org
> https://www.ietf.org/mailman/listinfo/uri-review

-- 
Graham Klyne
mailto:gk@ninebynine.org
http://www.ninebynine.org
Mastodon: @gklyne@indieweb.social
GitHub/Skype: @gklyne