Development
Changelog
0.0.504
Deprecations
format
is deprecated.formatMessages
should be used now.
New Features
- Add support for tags with OpenAI Instrumentation
- Allow thread upsert with one single object argument
0.0.503
Deprecations
createPrompt()
is deprecated.getOrCreatePrompt()
should now be used.
New Features
-
getOrCreatePrompt()
. For creating a new Prompt, usegetOrCreatePrompt()
.A Prompt is fully defined by its name, template_messages, settings and tools. If a prompt already exists for the given arguments, it is returned. Otherwise, a new prompt is created. @param name The name of the prompt to retrieve or create. @param templateMessages A list of template messages for the prompt. @param settings Optional settings for the prompt. @returns The prompt that was retrieved or created.
Was this page helpful?