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

scripts[minor]: Add CLI for creating integration docs #6279

Merged
merged 7 commits into from
Jul 30, 2024

Conversation

bracesproul
Copy link
Member

@bracesproul bracesproul commented Jul 30, 2024

From inside libs/langchain-scripts:

yarn create:integration:doc --package openai --module ChatOpenAI --type chat

Example usage:

yarn create:integration:doc --package openai --module ChatOpenAI --type chat
Would you like to fill out optional fields? (y/n) y
Does the tool support tool calling? (y/n) y
Does the tool support JSON mode? (y/n) y
Does the tool support image input? (y/n) y
Does the tool support audio input? (y/n) n
Does the tool support video input? (y/n) n
Does the tool support token level streaming? (y/n) y
Does the tool support token usage? (y/n) y
Does the tool support logprobs? (y/n) y
Does the tool support local usage? (y/n) n
Does the tool support serializable output? (y/n) y
Does the tool support Python support? (y/n) y
Successfully created new chat model integration doc at /Users/bracesproul/code/lang-chain-ai/langchainjs/docs/core_docs/docs/integrations/chat/openai.ipynb.
Please run the cells in the doc to record the outputs, and replace the Python documentation support URL with the proper URL.

Copy link

vercel bot commented Jul 30, 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 Jul 30, 2024 8:18pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 8:18pm

@bracesproul bracesproul marked this pull request as ready for review July 30, 2024 19:09
@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 labels Jul 30, 2024
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 size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant