A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/providers/pipeshift/ below:

Pipeshift | 🦜️🔗 LangChain

Pipeshift

Pipeshift is a fine-tuning and inference platform for open-source LLMs

Installation and Setup Authentication

You can perform authentication using your Pipeshift API key in any of the following ways:

  1. Adding API key to the environment variable as PIPESHIFT_API_KEY.

    os.environ["PIPESHIFT_API_KEY"] = "<your_api_key>"
  2. By passing api_key to the pipeshift LLM module or chat module

    llm = Pipeshift(api_key="<your_api_key>", model="meta-llama/Meta-Llama-3.1-8B-Instruct", max_tokens=512)

    OR

    chat = ChatPipeshift(api_key="<your_api_key>", model="meta-llama/Meta-Llama-3.1-8B-Instruct", max_tokens=512)
Chat models

See an example.

from langchain_pipeshift import ChatPipeshift
LLMs

See an example.

from langchain_pipeshift import Pipeshift

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4