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: add Azure to ChatModelTab #5624

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mainred
Copy link

@mainred mainred commented May 31, 2024

This PR comes after langchain-ai/langchain#22367, together they introduce Azure OpenAI in langchain document to simplify Azure users' work.

Copy link

vercel bot commented May 31, 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 May 31, 2024 11:37pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview May 31, 2024 11:37pm

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels May 31, 2024
@mainred
Copy link
Author

mainred commented Jun 4, 2024

@bracesproul could you please take a look at this PR? Thanks.

@@ -31,6 +31,7 @@ const DEFAULTS = {
mistralParams: `{\n model: "mistral-large-latest",\n temperature: 0\n}`,
groqParams: `{\n model: "mixtral-8x7b-32768",\n temperature: 0\n}`,
vertexParams: `{\n model: "gemini-1.5-pro",\n temperature: 0\n}`,
azureParams: `{\n azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],\n azure_deployment=os.environ["AZURE_OPENAI_DEPLOYMENT_NAME"],\n openai_api_version=os.environ["AZURE_OPENAI_API_VERSION"]\n}`,
Copy link
Collaborator

Choose a reason for hiding this comment

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

JavaScript uses process.env

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:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants