Our new LangChain Academy Course Deep Research with LangGraph is now live!
Enroll for free.
PromptLayerInstallation and SetupPromptLayer is a platform for prompt engineering. It also helps with the LLM observability to visualize requests, version prompts, and track usage.
While
PromptLayer
does have LLMs that integrate directly with LangChain (e.g.PromptLayerOpenAI
), using a callback is the recommended way to integratePromptLayer
with LangChain.
To work with PromptLayer
, we have to:
PromptLayer
accountPROMPTLAYER_API_KEY
)Install a Python package:
CallbackSee a usage example.
import promptlayer
from langchain.callbacks import PromptLayerCallbackHandler
LLM
See a usage example.
from langchain_community.llms import PromptLayerOpenAI
Chat Models
See a usage example.
from langchain_community.chat_models import PromptLayerChatOpenAI
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