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

Adding Yep Chat in Taktak #1

Draft
wants to merge 154 commits into
base: tt/develop
Choose a base branch
from
Draft

Conversation

nyinyithann
Copy link
Collaborator

@nyinyithann nyinyithann commented Nov 22, 2024

This pull request primarily focuses on integrating Yep Chat into Taktak.

Please note that this PR is currently intended for reference purposes only. The branch tt/feature/yepchat has already been merged into tt135/develop, which is now being utilized as the development base.

This commit introduces a toolbar button that allows users to toggle the visibility of the chat side panel.  The button provides a visual cue by highlighting with a rounded background when the chat panel is active.
…nel can be toggled from the toolbar and displays AI chat alongside current web content.
…so it can be localized into different languages.
Deleted ChatContextObserver class and its dependencies to simplify codebase. Adjusted related headers and implementation files to reflect the removal, and corrected remaining references and comments accordingly.
Implemented different prompts for chat actions: summarize page, explain page, and fact check page. Updated function signatures and button click handlers to utilize the new action-specific prompts.
Previously, the full content was passed to the query without length restriction, which could cause issues. Now, the content is truncated to a maximum of 32768 tokens to ensure it adheres to the defined limit.
nyinyithann and others added 29 commits February 21, 2025 17:59
Introduced methods to save and retrieve SiteInfo from the cache to improve efficiency and maintain state consistency across page interactions. Updated chat panel behavior to handle cached SiteInfo appropriately, ensuring seamless user experience and accurate context handling in conversations. Enhanced logic to prevent redundant SiteInfo and related states updates for the same URL.
…ache when the user opens or closes the chat panel.
Change-Id: I085a541bc7d5e39ffa33010ef17f64f00e28c6de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6313317
Bot-Commit: Chrome Release Bot (LUCI) <chrome-official-brancher@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/7046@{#1}
Cr-Branched-From: eebb4a4-refs/heads/main@{#1426832}
Change-Id: Icf8096f1ddd449f29ea5002104303f4fb285bf14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6315039
Bot-Commit: Chrome Release Bot (LUCI) <chrome-official-brancher@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/7046@{#2}
Cr-Branched-From: eebb4a4-refs/heads/main@{#1426832}
nyinyithann pushed a commit that referenced this pull request Mar 26, 2025
Change-Id: I07723276d07e4ad05095f004f3f4b9776f1d4fe1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6321305
Bot-Commit: Chrome Release Bot (LUCI) <chrome-official-brancher@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/7049@{#1}
Cr-Branched-From: 2dab784-refs/heads/main@{#1427262}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant