Skip to content

Latest commit

 

History

History
606 lines (305 loc) · 34.3 KB

CHANGELOG.md

File metadata and controls

606 lines (305 loc) · 34.3 KB

@markprompt/core

0.38.2

Patch Changes

0.38.1

Patch Changes

0.38.0

Minor Changes

Patch Changes

0.37.0

Minor Changes

0.36.0

Minor Changes

0.35.3

Patch Changes

0.35.2

Patch Changes

0.35.1

Patch Changes

0.35.0

Minor Changes

0.34.0

Minor Changes

  • #393 2672ab9 Thanks @nickrttn! - Remove the barrel file in @markprompt/core in favor of package.json exports.

    You will now need to import from specific exports, eg. import { submitChat } from '@markprompt/core/chat' instead of import { submitChat } from '@markprompt/core'.

Patch Changes

  • #393 2672ab9 Thanks @nickrttn! - Group related utils and types. All types and utils that are related to a specific featured are now grouped with that feature's code. You might need to update your imports.

0.33.1

Patch Changes

0.33.0

Minor Changes

0.32.0

Minor Changes

0.31.7

Patch Changes

  • #383 b5e23d0 Thanks @nickrttn! - Update linting setup and fix various linting issues surfaced by the change

0.31.6

Patch Changes

  • #381 ed14adb Thanks @ethanniser! - add additionalMetadata parameter to submitChat, allowing for additional arbitrary data to be sent along with the request

0.31.5

Patch Changes

0.31.4

Patch Changes

0.31.3

Patch Changes

0.31.2

Patch Changes

0.31.1

Patch Changes

0.31.0

Minor Changes

  • #363 0b1481b Thanks @nickrttn! - Add support for new models (Llama 3 8B/70B Instruct and Mixtral 8x7B Instruct), use by passing meta-llama-3-8b-instruct, meta-llama-3-70b-instruct or mixtral-8x7b-instruct-v0.1 as your model for chat completions, or configuring your assistant to use one of the new models.

0.30.0

Minor Changes

Patch Changes

0.29.1

Patch Changes

0.29.0

Minor Changes

  • b9ff727 Thanks @nickrttn! - BREAKING: We no longer set a default system prompt.

0.28.3

Patch Changes

0.28.2

Patch Changes

0.28.1

Patch Changes

0.28.0

Minor Changes

  • #349 44e7cda Thanks @michaelfester! - Rename conversationId and promptId to threadId and messageId. Improve function calling state management.

0.27.0

Minor Changes

Patch Changes

0.26.3

Patch Changes

0.26.2

Patch Changes

0.26.1

Patch Changes

  • e86f71438cdf599f37f243a4597596a3ca0a790a Thanks @nickrttn! - Improve handling of aborted requests by checking for an aborted signal before every yield in submitChat

    Async generators have no real way to deal with cancellation via AbortController in modern JS. This commit adds a check for an aborted signal before every yield in the core/submitChat generator, then throws the error if the signal has been aborted.

    This should prevent yields from happening after the signal has been aborted.

0.26.0

Minor Changes

0.25.5

Patch Changes

0.25.4

Patch Changes

0.25.3

Patch Changes

0.25.2

Patch Changes

0.25.1

Patch Changes

0.25.0

Minor Changes

0.24.0

Minor Changes

0.23.0

Minor Changes

0.22.3

Patch Changes

0.22.2

Patch Changes

0.22.1

Patch Changes

0.22.0

Minor Changes

Patch Changes

0.21.4

Patch Changes

0.21.3

Patch Changes

0.21.2

Patch Changes

0.21.1

Patch Changes

0.21.0

Minor Changes

0.20.1

Patch Changes

0.20.0

Minor Changes

Patch Changes

0.19.1

Patch Changes

0.19.0

Minor Changes

0.18.0

Minor Changes

  • #240 2b97082 Thanks @nickrttn! - Show configurable error messages to users when upstream outages occur

Patch Changes

0.17.1

Patch Changes

0.17.0

Minor Changes

0.16.5

Patch Changes

0.16.4

Patch Changes

0.16.3

Patch Changes

0.16.2

Patch Changes

0.16.1

Patch Changes

0.16.0

Minor Changes

Patch Changes

0.15.0

Minor Changes

0.14.0

Minor Changes

0.13.0

Minor Changes

  • #163 983f098 Thanks @michaelfester! - Add support for conversationId in submitChat

  • #163 983f098 Thanks @michaelfester! - Fix an inconsistency in submitFeedback, switching the feedback and projectKey arguments

  • #163 983f098 Thanks @michaelfester! - Remove submitPrompt in favor of submitChat. To migrate single question prompt implementations, instead of submitPrompt(prompt, ...) call submitChat([{ content: prompt, role: 'user' }], ...) with the same arguments.

  • 691164c Thanks @michaelfester! - Add chat support

Patch Changes

0.12.1

Patch Changes

0.12.0

Minor Changes

  • #149 7718303 Thanks @nickrttn! - Add submitChat, allowing to send conversations to the Markprompt API

Patch Changes

  • #149 7718303 Thanks @nickrttn! - Change how default options are passed to @markprompt/core

  • #149 7718303 Thanks @nickrttn! - Add an optional messageIndex parameter to submitFeedback, which can be used to submit feedback for messages in chat conversations

  • #148 cd011ec Thanks @nickrttn! - Add isAbortError utility

0.11.0

Minor Changes

Patch Changes

0.10.0

Minor Changes

0.9.1

Patch Changes

0.9.0

Minor Changes

0.8.2

Patch Changes

0.8.1

Patch Changes

0.8.0

Minor Changes

  • #95 251db73 Thanks @michaelfester! - Harmonize references API and use reponse header for references and debug info

  • #80 9bd2123 Thanks @nickrttn! - Add feedback functionality to the prompt, allowing users to give feedback on the usefulness of prompt answers

0.7.0

Minor Changes

0.6.4

Patch Changes

0.6.3

Patch Changes

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.0

Minor Changes

0.5.0

Minor Changes

Patch Changes

0.4.6

Patch Changes