Pipeshift
This will help you get started with Pipeshift completion models (LLMs) using LangChain. For detailed documentation on Pipeshift
features and configuration options, please refer to the API reference.
Overview
Integration details
Class | Package | Local | Serializable | JS support | Package downloads | Package latest |
---|---|---|---|---|---|---|
Pipeshift | langchain-pipeshift | ❌ | - | ❌ |
Setup
To access Pipeshift models you'll need to create a Pipeshift account, get an API key, and install the langchain-pipeshift
integration package.
Credentials
Head to Pipeshift to sign up to Pipeshift and generate an API key. Once you've done this set the 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: ")
If you want to get automated tracing of your model calls you can also set your LangSmith API key by uncommenting below:
# os.environ["LANGCHAIN_TRACING_V2"] = "true"
# os.environ["LANGCHAIN_API_KEY"] = getpass.getpass("Enter your LangSmith API key: ")
Installation
The LangChain Pipeshift integration lives in the langchain-pipeshift
package:
%pip install -qU langchain-pipeshift
Note: you may need to restart the kernel to use updated packages.
Instantiation
Now we can instantiate our model object and generate chat completions:
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,'
Chaining
We can also chain our llm with a prompt template
API reference
For detailed documentation of all Pipeshift
features and configurations head to the API reference: https://dashboard.pipeshift.com/docs
Related
- LLM conceptual guide
- LLM how-to guides