Pipeshift
這將幫助您開始使用 LangChain 的 Pipeshift 完成模型 (LLM)。如需關於 Pipeshift
功能和配置選項的詳細文檔,請參閱 API 參考文檔。
概觀
整合詳細資訊
類別 | 套件 | 本地 | 可序列化 | JS 支援 | 套件下載次數 | 套件最新版本 |
---|---|---|---|---|---|---|
Pipeshift | langchain-pipeshift | ❌ | - | ❌ |
設定
要存取 Pipeshift 模型,您需要建立一個 Pipeshift 帳戶、取得 API 金鑰,並安裝 langchain-pipeshift
整合套件。
憑證
前往 Pipeshift 註冊 Pipeshift 並產生 API 金鑰。完成後,設定 PIPESHIFT_API_KEY 環境變數
import getpass
import os
if not os.getenv("PIPESHIFT_API_KEY"):
os.environ["PIPESHIFT_API_KEY"] = getpass.getpass("Enter your Pipeshift API key: ")
如果您想要取得模型呼叫的自動追蹤,您也可以設定您的 LangSmith API 金鑰,取消註解下方內容即可
# os.environ["LANGSMITH_TRACING"] = "true"
# os.environ["LANGSMITH_API_KEY"] = getpass.getpass("Enter your LangSmith API key: ")
安裝
LangChain Pipeshift 整合位於 langchain-pipeshift
套件中
%pip install -qU langchain-pipeshift
Note: you may need to restart the kernel to use updated packages.
實例化
現在我們可以實例化我們的模型物件並產生聊天完成
from langchain_pipeshift import Pipeshift
llm = Pipeshift(
model="meta-llama/Meta-Llama-3.1-8B-Instruct",
temperature=0,
max_tokens=512,
)
調用
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,'
鏈接
我們也可以使用提示範本 鏈接 我們的 llm
API 參考文檔
如需所有 Pipeshift
功能和配置的詳細文檔,請前往 API 參考文檔:https://dashboard.pipeshift.com/docs