Skip to content

Update docs for passing apiKey arg in non-Node envs #676

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

Merged
merged 3 commits into from
Apr 9, 2023
Merged

Conversation

nfcampos
Copy link
Collaborator

@nfcampos nfcampos commented Apr 8, 2023

  • Add comment after each saying eg. In Node this defaults to the value of process.env.X_API_KEY
  • Add this to OpenAI adapter (standardise argument name)
  • Add this to chat models and embeddings pages too

mvikrammenon and others added 2 commits April 6, 2023 13:12
Added key to huggingface, cohere and replicate
docs: Add apiKey param for model instantiation
@vercel
Copy link

vercel bot commented Apr 8, 2023

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

Name Status Preview Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Apr 9, 2023 5:22pm

@nfcampos nfcampos requested a review from agola11 April 9, 2023 17:20
@nfcampos nfcampos marked this pull request as ready for review April 9, 2023 17:41
@nfcampos nfcampos merged commit d37366b into main Apr 9, 2023
@nfcampos nfcampos deleted the nc/api-key-docs branch April 9, 2023 17:41
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.

3 participants