functions
into kwargs
and use function-type messages as you would use normal messages in gpt-4
.
PromptLayerCallbackHandler
. Streaming is not supported through the PromptLayer-specific LLMs (the old way to use LangChain).
Finally, if you are interacting with PromptLayer through our REST API you will need to store the whole output and log it to PromptLayer (track-request
) only after it is finished.