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

docs(js): add langchain deno notebook #4848

Merged
merged 3 commits into from
Oct 7, 2024
Merged

Conversation

Parker-Stafford
Copy link
Contributor

Adds a notebook that uses langchain js and the openinference langchain js auto instrumentation

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 3, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -0,0 +1,1138 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

is the lock needed? Just because this will trigger security checks :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ahh i can remove and update the readme

Copy link
Contributor

@mikeldking mikeldking left a comment

Choose a reason for hiding this comment

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

Yeah this syntax seems better since you can actually copy into node.

Comment on lines 1 to 15
{
"dependencies": {
"@arizeai/openinference-instrumentation-langchain": "^0.2.0",
"@arizeai/openinference-semantic-conventions": "^0.10.0",
"@langchain/core": "^0.2.30",
"@langchain/openai": "^0.2.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-trace-otlp-proto": "^0.50.0",
"@opentelemetry/resources": "^1.25.1",
"@opentelemetry/sdk-trace-base": "^1.25.1",
"@opentelemetry/sdk-trace-node": "^1.25.1",
"getpass": "^0.1.7",
"prompt-sync": "^4.2.0"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

The rest of the package is not needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

doesn't seem like it, it works just fine with just the deps

Copy link
Contributor

@mikeldking mikeldking left a comment

Choose a reason for hiding this comment

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

The notebook seems to still have the npm protocol?

@Parker-Stafford
Copy link
Contributor Author

The notebook seems to still have the npm protocol?

oh yeah let me double check removign that

@Parker-Stafford Parker-Stafford merged commit 9bb57b7 into main Oct 7, 2024
5 checks passed
@Parker-Stafford Parker-Stafford deleted the langchain-deno-notebook branch October 7, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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