Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
OurBuilding Ambient Agents with LangGraph course is now available on LangChain Academy!
Open on GitHub

Gradient

Gradient allows to fine tune and get completions on LLMs with a simple web API.

Installation and Setup

  • Install the Python SDK :
pip install gradientai

Get aGradient access token and workspace and set it as an environment variable (Gradient_ACCESS_TOKEN) and (GRADIENT_WORKSPACE_ID)

LLM

There exists an Gradient LLM wrapper, which you can access withSee ausage example.

from langchain_community.llmsimport GradientLLM
API Reference:GradientLLM

Text Embedding Model

There exists an Gradient Embedding model, which you can access with

from langchain_community.embeddingsimport GradientEmbeddings
API Reference:GradientEmbeddings

For a more detailed walkthrough of this, seethis notebook


[8]ページ先頭

©2009-2025 Movatter.jp