I would love to see ai chat bot from Brave that would be amazing!
they have summarizer … And they talk about it like it it way more powerfull than a AI.
Emi
May 16, 2023, 9:23pm
3
Technically they already implemented this in Nightly, it is not usable but they are building.
But I guess it is hard to take 3 seconds and search “chat ai” in Github Brave https://github.com/brave/brave-core/search?q=chat+ai&type=issues to find out if they are working on this or not; and then find something like this:
brave:master
← brave:chat-ui
opened 08:40PM - 27 Feb 23 UTC
Resolves: https://github.com/brave/brave-browser/issues/29139
Security review: … https://github.com/brave/security/issues/1232
This PR includes the implementation of a Chat UI in the browser's sidebar and introduces several features:
- Added a chrome-untrusted protocol WebUI for Chat
- Integrated with our AI partner for completions and summarization
- Summarizer feature sends page content to Claude for summarization
- Utilizes AXTreeDistiller for extracting main/article tags from pages
- If main/article tags are not present, summarization is not possible
**Conversation state management:**
- In-memory storage of previous conversations for context-aware responses
- Unique conversation states per tab, reset upon changing pages
- Tab-specific conversation switching
**Limitations and follow-ups:**
- Context length optimization not yet implemented
- Naive content length limitation, accurate token measurement needed
- Text streams not supported, to be added in a future update
- Input box cannot grow or shrink
- New messages does not automatically scroll to the message bubble
**Feature flag "AIChat" controls access**
- Can be enable through brave://flags
Future improvements will address the current limitations and expand the functionality of the Chat UI.
<img width="400" alt="Screenshot 2023-03-17 at 4 23 46 PM" src="https://user-images.githubusercontent.com/8665427/226068964-0fdff1b2-a061-4ca3-92d9-907d91f58f70.png">
<img width="1312" alt="image" src="https://user-images.githubusercontent.com/8665427/234969115-09883412-7cec-4eec-ba74-45a549d2589e.png">
(Disabled on Tor profiles)
<img width="512" alt="Screenshot 2023-05-01 at 9 14 13 AM" src="https://user-images.githubusercontent.com/8665427/235486107-9d6f05d2-ddda-4685-8777-d1d7e1d676c4.png">
Error state (network or server down, or bad request):
<img width="2983" alt="image" src="https://user-images.githubusercontent.com/741836/234375242-989aea39-03fe-457d-a0f2-69876abc2606.png">
## Submitter Checklist:
- [x] I confirm that no security/privacy review [is needed](https://github.com/brave/brave-browser/wiki/Security-reviews), or that I have [requested](https://github.com/brave/security/issues/new/choose) one
- [x] There is a [ticket](https://github.com/brave/brave-browser/issues) for my issue
- [x] Used Github [auto-closing keywords](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue) in the PR description above
- [x] Wrote a good [PR/commit description](https://google.github.io/eng-practices/review/developer/cl-descriptions.html)
- [x] Squashed any review feedback or "fixup" commits before merge, so that history is a record of what happened in the repo, not your PR
- [x] Added appropriate labels (`QA/Yes` or `QA/No`; `release-notes/include` or `release-notes/exclude`; `OS/...`) to the associated issue
- [x] Checked the PR locally:
* `npm run test -- brave_browser_tests`, `npm run test -- brave_unit_tests` [wiki](https://github.com/brave/brave-browser/wiki/Tests)
* `npm run lint`, `npm run presubmit` [wiki](https://github.com/brave/brave-browser/wiki/Presubmit-checks), `npm run gn_check`, `npm run tslint`
- [x] Ran `git rebase master` (if needed)
## Reviewer Checklist:
- [x] A security review [is not needed](https://github.com/brave/brave-browser/wiki/Security-reviews), or a link to one is included in the PR description
- [ ] New files have MPL-2.0 license header
- [ ] Adequate test coverage exists to prevent regressions
- [ ] Major classes, functions and non-trivial code blocks are well-commented
- [ ] Changes in component dependencies are properly reflected in `gn`
- [ ] Code follows the [style guide](https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/c++/c++.md)
- [ ] Test plan is specified in PR before merging
## After-merge Checklist:
- [ ] The associated issue milestone is set to the smallest version that the
changes has landed on
- [ ] All relevant documentation has been updated, for instance:
- [ ] https://github.com/brave/brave-browser/wiki/Deviations-from-Chromium-(features-we-disable-or-remove)
- [ ] https://github.com/brave/brave-browser/wiki/Proxy-redirected-URLs
- [ ] https://github.com/brave/brave-browser/wiki/Fingerprinting-Protections
- [ ] https://github.com/brave/brave-browser/wiki/Brave%E2%80%99s-Use-of-Referral-Codes
- [ ] https://github.com/brave/brave-browser/wiki/Custom-Headers
- [ ] https://github.com/brave/brave-browser/wiki/Web-Compatibility-Exceptions-in-Brave
- [ ] https://github.com/brave/brave-browser/wiki/QA-Guide
- [ ] https://github.com/brave/brave-browser/wiki/P3A
## Test Plan:
really hard /s
1 Like
I’m not talking about the chat ai for summaries… Just ai chat bot like bard or open ai’s bot…
Brave does not have funds to pay rewards, even less to invest in AI projects
Sarcasm apart. Brave is a very small company. They are not (yet) able to compete with companies like Google or Microsoft. They have issued a browser that is an appealing alternative to the browsers of those giants. But it’s how far they can go at the moment. They are a very small team with limited resources.
1 Like