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

community[minor],docs[minor]: Add ChromeAI chat model #5903

Merged
merged 16 commits into from
Jun 28, 2024
Merged

Conversation

bracesproul
Copy link
Member

No description provided.

Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 0:37am
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 0:37am

@@ -0,0 +1,34 @@
<!DOCTYPE html>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we run this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added better setup instructions

const textPrompt = formatPrompt(messages);

const stream = this.session.promptStreaming(textPrompt);
const reader = stream.getReader();
Copy link
Collaborator

@jacoblee93 jacoblee93 Jun 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think these are iterable if we convert to an IterableReadableStream

@jacoblee93
Copy link
Collaborator

Sweet!

@bracesproul bracesproul changed the title community[minor]: Add ChromeAI chat model langchain[minor],docs[minor]: Add ChromeAI chat model Jun 26, 2024
@bracesproul bracesproul marked this pull request as ready for review June 26, 2024 18:23
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:improvement Medium size change to existing code to handle new use-cases labels Jun 26, 2024
@@ -2075,6 +2079,15 @@
"import": "./experimental/chains/violation_of_expectations.js",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that this PR introduces a new dependency change related to the "chrome_ai" chat model. This comment is to flag the change for maintainers to review, as it impacts the project's dependencies. Great work, and looking forward to the review!

@@ -0,0 +1,16 @@
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that this PR introduces changes to the dev and hard dependencies in the package.json file. I've flagged this for your review to ensure everything aligns with the project's requirements. Keep up the great work!

@bracesproul bracesproul changed the title langchain[minor],docs[minor]: Add ChromeAI chat model community[minor],docs[minor]: Add ChromeAI chat model Jun 28, 2024
@bracesproul bracesproul merged commit f2fe566 into main Jun 28, 2024
37 checks passed
@bracesproul bracesproul deleted the brace/chrome-ai branch June 28, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:improvement Medium size change to existing code to handle new use-cases size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants