Documentation Index
Fetch the complete documentation index at: https://docs.literalai.com/llms.txt
Use this file to discover all available pages before exploring further.
0.1.0 (November 12th, 2024)
Improvements
- Added
createPromptVariantAPI to createPromptvariants - Modified
createExperimentto take as input apromptVariantIdinstead of apromptId
0.0.520 (October 28th, 2024)
Improvements
- Added fields
label,statusandtagstogetPromptByIdAPI.
0.0.519 (October 21st, 2024)
Improvements
- Added
releaseparameter to Literal AI client constructors
0.0.518 (September 18th, 2024)
Bug fixes
- Use getters to lazy load modules
0.0.517 (September 16th, 2024)
Improvements
- Added link to prompt as URL in the
get_promptAPI - Introduced decorators with
metadata,tagsandstepidfields - Adjusted integrations to account for
metadataandtagslogging
Bug fixes
- Made third-party dependencies optional when importing Literal AI client.
0.0.515
Improvements
This version improves compatibility with the LangChain ecosystem, notably with complex LangGraph flows.0.0.514
Improvements
Simplify the Vercel AI SDK integration by leveraging the internal context.threadId and parentId are now automatically handled without the need to pass them as a literalAiParent argument.
0.0.513
Improvements
- Added option to send a root run ID upon creation of a
Step - The API
update_prompt_ab_testingreplaces the oldpromote_promptand extends on it to allow for A/B testing
0.0.512
Breaking Changes
Instantiation of the TypeScript client was altered to take in an object as argument:New Features
This release introduces a new, wrapper-aware method to create attachments :client.api.createAttachment. This method is a wrapper around the uploadFile method and the new Attachment constructor. It allows you to create an attachment in a single call, and attach it to the thread/step in the current context.
The old method using uploadFile and new Attachment is considered obsolete, although it remains in the SDK for backward compatibility.
Improvements
threadIdis now optional when creating an attachment or uploading a filecreateAttachmentanduploadFilenow accept file data in the following formats : ReadableStream, ReadStream, Buffer, File, Blob & ArrayBufferGenerationcreation now supports passingtagsandmetadataExperimentbecome optionally linked to aDataset
0.0.510
Breaking Changes
Revamp of the OpenAI instrumentation : instead of manually instrumenting each call result, you can now instrument OpenAI globally. Each subsequently call will be logged with no additional code. This new implementation is context-aware and will log the OpenAI calls in the right steps and threads if you use the new wrapper syntax.0.0.509
New Features
- New syntax with wrappers for
stepandthreadmethods.
0.0.504
Deprecations
formatis deprecated.formatMessagesshould 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().