by dataviz1000 · 1y ago · 0 comments
This will work. It will allow the chatbot to provide up to the minute data and information from the source. It will allow the user to maintain context -- like a popup dialog allows the user to maintain visual context. And, it will incentivize content creators to curate and provide information and data as people will be visiting their websites.
If anyone thinks this might be a good idea also, I've already laid down the foundation approaching a browser extension side panel as a framework like Electron or Playwright and did the grunt work. [0]
I put the VSCode IPC and other core libraries into this project. The IPC is important because a browser extension with this use case requires looking at a browser as a distributed system of javascript processes that communicate a a dozen different ways
> Environments: Node.js main process, Node.js child process, Node.js worker thread, browser main thread (window), iframe, dedicated Web Worker, Shared Worker, Service Worker, AudioWorklet.
> Communication: fetch/XMLHttpRequest, WebSocket, RTCDataChannel, EventSource, BroadcastChannel, SharedArrayBuffer + Atomics, localStorage storage events, MessageChannel/MessagePort, postMessage/onmessage, Worker.postMessage/worker.onmessage, parentPort.postMessage/parentPort.on('message'), ChildProcess.send/process.on('message'), stdin/stdout streams.
and VSCode provides a protocol interface with only `onMessage` and `send` so I can define my own that are not provided creating a consistent API for communication.
Regardless, I have it working but it needs to be completely rewritten.
The Browser Company’s new browser, Dia[1], is supposedly another similar product
[0] = https://gemini.google/overview/gemini-in-chrome/?hl=en
I went with experimenting with stock trading as a demo because people need huge incentive and value to make the critical jump to install an app. There is potential for niche curated business intelligence in trading or real estate, for example, where not only providing the chat bot but also time series data embeddings ect.
I'm a little sad because I'm late to this party.
Nevertheless, there needs to incentive also for people to continue to publish the data, ideas, and information so the chatbots are going to have help the content creators help them curate and provide the data by getting users to navigate to the webpages.
I remember reading Google's Search Engine Optimization guide back in 2009 when I built a news publishing website for an industry newpaper. The tone was here is how to optimize your website for google crawlers to help us help you get traffic to your website. Google is nothing without people creating.
image-to-text and video, audio-to-text works fine, there are lot of uses for text generation that work but to get high quality analysis to see if a social media post might cause the stock market to crash requires sending the data out to an api. If the side panel requires searching for links to navigate to it requires a third party api.
Working with it, I think the next hardware race will be getting these models to run on personal computers in next 2 - 5 years and I have a suspicion Microsoft is ahead of Apple.