Skip to content

Conversation

D1m7asis
Copy link
Contributor

Overview

Adds first-class documentation for the AI/ML API provider in the Python docs:

  • New provider page: src/oss/python/integrations/providers/aimlapi.mdx

  • New guides:

    • Chat: src/oss/python/integrations/chat/aimlapi.mdx
    • LLM (text): src/oss/python/integrations/llms/aimlapi.mdx
    • Embeddings: src/oss/python/integrations/text_embedding/aimlapi.mdx
  • Navigation updates in src/docs.json and index pages:

    • Providers index + “All providers”
    • Chat integrations index
    • Embeddings integrations index

Content includes: setup & install (pip install langchain-aimlapi), env var AIMLAPI_API_KEY, minimal usage examples, chaining, streaming, and links to API reference. UTM links added to aimlapi.com. Badges for PyPI downloads/version included where appropriate.

Type of change

Type: New documentation page

Related issues/PRs

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers

Additional notes

  • This PR mirrors the structure used by other provider docs (Anthropic, Fireworks, etc.) for consistency.
  • Per maintainer guidance, I will also open a follow-up PR to the new docs repo with the same changes so they remain visible after the migration.

Introduces documentation and guides for AI/ML API integration across chat, LLM, and embedding models in LangChain. Updates provider listings, feature tables, and navigation to include AI/ML API, with setup instructions and usage examples for each model type.
@D1m7asis D1m7asis requested a review from lnhsingh as a code owner September 19, 2025 15:35
@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 15:35
@D1m7asis D1m7asis requested a review from katmayb as a code owner September 19, 2025 15:35
@github-actions github-actions bot added langchain For docs changes to LangChain python For content related to the Python version of LangChain projects oss labels Sep 19, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive documentation for the AI/ML API provider integration in the LangChain Python documentation. The documentation follows the established patterns used by other provider integrations like Anthropic and Fireworks.

  • Adds complete provider documentation including setup, installation, and authentication
  • Creates individual integration guides for chat models, LLMs, and embeddings
  • Updates navigation and index pages to include the new AI/ML API provider

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/oss/python/integrations/providers/aimlapi.mdx New provider overview page with setup instructions and component links
src/oss/python/integrations/chat/aimlapi.mdx Chat model integration guide with examples and API reference
src/oss/python/integrations/llms/aimlapi.mdx LLM integration guide with streaming and chaining examples
src/oss/python/integrations/text_embedding/aimlapi.mdx Embeddings integration guide with RAG examples
src/oss/python/integrations/providers/index.mdx Adds AI/ML API entry to main providers table
src/oss/python/integrations/providers/all_providers.mdx Adds AI/ML API card to all providers listing
src/oss/python/integrations/chat/index.mdx Adds AI/ML API to chat models table and card grid
src/oss/python/integrations/text_embedding/index.mdx Adds AI/ML API to embeddings table and card grid
src/docs.json Adds navigation structure for AI/ML API documentation

@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 19:30
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

@Copilot Copilot AI review requested due to automatic review settings September 22, 2025 11:02
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

@Copilot Copilot AI review requested due to automatic review settings September 22, 2025 14:48
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.

@lnhsingh lnhsingh merged commit f447e4b into langchain-ai:main Sep 22, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[langchain]: Sync AI/ML API integration docs
2 participants