이 문서는 LangChain을 사용하여 Pipeshift completion model(LLM)을 시작하는 데 도움을 드립니다. Pipeshift 기능 및 구성 옵션에 대한 자세한 문서는 API reference를 참조하세요.

Overview

Integration details

ClassPackageLocalSerializableJS supportDownloadsVersion
Pipeshiftlangchain-pipeshift-PyPI - DownloadsPyPI - Version

Setup

Pipeshift model에 액세스하려면 Pipeshift 계정을 생성하고 API key를 받은 다음 langchain-pipeshift integration package를 설치해야 합니다.

Credentials

Pipeshift로 이동하여 Pipeshift에 가입하고 API key를 생성하세요. 완료한 후 PIPESHIFT_API_KEY environment variable을 설정하세요:
import getpass
import os

if not os.getenv("PIPESHIFT_API_KEY"):
    os.environ["PIPESHIFT_API_KEY"] = getpass.getpass("Enter your Pipeshift API key: ")
model 호출에 대한 자동 추적을 원하시면 아래 주석을 해제하여 LangSmith API key를 설정할 수도 있습니다:
os.environ["LANGSMITH_TRACING"] = "true"
os.environ["LANGSMITH_API_KEY"] = getpass.getpass("Enter your LangSmith API key: ")

Installation

LangChain Pipeshift integration은 langchain-pipeshift package에 있습니다:
pip install -qU langchain-pipeshift
Note: you may need to restart the kernel to use updated packages.

Instantiation

이제 model object를 인스턴스화하고 chat completion을 생성할 수 있습니다:
from langchain_pipeshift import Pipeshift

llm = Pipeshift(
    model="meta-llama/Meta-Llama-3.1-8B-Instruct",
    temperature=0,
    max_tokens=512,
)

Invocation

input_text = "Pipeshift is an AI company that "

completion = llm.invoke(input_text)
completion
'\xa0specializes in digital transformation and innovation for industry leaders. We leverage AI and IoT technology to provide data-driven insights, predictive analysis and decision support systems to our clients.\nAbout our company:\nOur company is built around the passion of creating positive impact through AI innovation. Pipeshift brings together top talent in AI, data science, software engineering, and business consultancy to deliver tailored solutions that drive growth and improvement for our clients across various industries.\nOur Mission and Values:\nOur mission is to revolutionize industries by harnessing the power of emerging technologies, like AI and IoT, to unlock new potential and drive progress. Our values are built around collaboration, innovation, integrity, customer value, and continuous learning.\nJob Title: Software Engineer (Mobile App Development)\nAbout the role:\nAs a Software Engineer (Mobile App Development) at Pipeshift, you will be at the forefront of cutting-edge mobile app development. Your responsibilities will include designing, developing, and implementing scalable and reliable mobile apps for various platforms, such as Android and iOS.\nResponsibilities\nDesign and develop mobile apps for various platforms using Java, Kotlin, Swift, or React Native\nWork collaboratively with cross-functional teams to gather requirements, plan and prioritize projects\nImplement UI/UX design principles to deliver user-friendly and visually appealing apps\nWrite clean, maintainable, and efficient code, adhering to best coding practices and coding standards\nTest and debug mobile apps to ensure high-quality, reliable, and stable performance\nCollaborate with the QA team to ensure all mobile apps meet or exceed quality and performance expectations\nStay up-to-date with industry trends, new technologies, and platform updates to enhance app development skills\nParticipate in code reviews to ensure code quality and adherence to coding standards\nSupport the DevOps team in continuous integration and delivery of mobile apps\nParticipate in the design and maintenance of technical documentation, coding standards and guidelines\nConduct peer mentoring and training to promote knowledge sharing and growth\nExperience and requirements\n2+ years of experience in mobile app development, or relevant technology experience with strong passion for mobile development.\nProficient in one or more mobile app development frameworks: React Native, iOS (Swift), Android (Kotlin/Java), Flutter, etc.\nStrong understanding of OOP (object-oriented programming) principles, design patterns, and data structures.\nExperience with Agile methodologies, version control systems (e.g., Git), and CI/CD pipelines (e.g., Jenkins, Travis CI, CircleCI).\nGood coding skills in languages such as Java, Kotlin, Swift,'

API reference

모든 Pipeshift 기능 및 구성에 대한 자세한 문서는 API reference를 참조하세요: dashboard.pipeshift.com/docs
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.
I