Skip to content

Commit 2283692

Browse files
committed
remove notes
the other implementations turned out to be placing too many unnecessary limitations on the element UX so i'd rather lean into using element how i want to. i tried using normal widgets but ran into too many issues, not to mention having to run react again when i already wrote the component so instead i guess i will have a fork of element that lets me run react code within a widget 'native' to element
1 parent 6e0390e commit 2283692

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

README.md

+1-29
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,4 @@ https://github.com/kfatehi/matrix-js-sdk/tree/openai
1414

1515
https://github.com/kfatehi/matrix-react-sdk/tree/openai
1616

17-
18-
19-
20-
https://user-images.githubusercontent.com/175305/222951380-8a5c46fa-c7d9-4230-a666-76dae98b3ccf.mp4
21-
22-
## Future consideration
23-
24-
The tightly-coupled approach taken here in which the entire stack has been modified is not tenable. Although the use case being demonstrated here certainly has its merits, yet another first-class user-interface to maintain across the entire client (and server) ecosystems makes little sense especially when the use case can be designed through the use of a bridge bot.
25-
26-
A matrix AS/bridge can detect slash commands in different rooms, which is all that is needed for this idea to be made manifest without UI and server changes. It would be a wiser means by which to implement this idea as then any client and any server will be able to access it.
27-
28-
Designing the interaction so that it is at least equal to if not better than what we see in the video above is the challenge now, although I think something like this makes sense:
29-
30-
- you are chatting with user Alice
31-
- you wish to invoke the AI so you type /ai
32-
- the AI bot user messages you with the payload it is about to send to the API
33-
- you confirm the payload (or change settings and then confirm)
34-
- the AI replies with the API response
35-
- you copy-paste from the API response and send it to Alice
36-
37-
I think this user experience works totally fine, if not even better than the one we see in the video above.
38-
39-
Some bot platforms to consider:
40-
41-
Hemppa (python): https://github.com/vranki/hemppa/pull/233
42-
43-
Maubot (python): https://github.com/maubot/maubot
44-
45-
Go-NEB (go): https://github.com/matrix-org/go-neb
17+
https://user-images.githubusercontent.com/175305/222951380-8a5c46fa-c7d9-4230-a666-76dae98b3ccf.mp4

0 commit comments

Comments
 (0)