MagnivOrg / prompt-layer-library

🍰 PromptLayer - Maintain a log of your prompts and OpenAI API requests. Track, debug, and replay old completions.
https://www.promptlayer.com
Apache License 2.0
485 stars 44 forks source link

ChatCompletion support request #8

Closed lucasgadams closed 1 year ago

lucasgadams commented 1 year ago

:)

Jped commented 1 year ago

Linking this here: https://platform.openai.com/docs/guides/chat

Should not be too hard to build out. Probably minor edits on our library and then some edits on the frontend.

okomarov commented 1 year ago

Just emailed you and then found this issue. Would be nice to keep this open or somehow track progress on this item. For reference LangChain supports multiple completions already: https://js.langchain.com/docs/getting-started/guide-chat#multiple-completions

Jped commented 1 year ago

@okomarov we do support chat completions, but our prompt registry does not support saving a chat style prompt template. We are waiting for langchain to implement serialization for chat style prompts. They told us they will do it soon, but I will reach back out to figure out what their timeline is.