Skip to content

Commit

Permalink
Export ConvMemory
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp authored Nov 26, 2024
1 parent 5548745 commit f73e683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added a new Gemini Experimental model from November 2024 (`gemini-exp-1121` with alias `gemexp`).
- Added a new `AnnotationMessage` type for keeping human-only information in the message changes. See `?annotate!` on how to use it.
- Added a new `ConversationMemory` type to enable long multi-turn conversations with a truncated memory of the conversation history. Truncation works in "batches" to not prevent caching. See `?ConversationMemory` and `get_last` for more information.
- Added a new `ConversationMemory` type (exported) to enable long multi-turn conversations with a truncated memory of the conversation history. Truncation works in "batches" to not prevent caching. See `?ConversationMemory` and `get_last` for more information.


### Updated
Expand Down
2 changes: 1 addition & 1 deletion src/PromptingTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ include("user_preferences.jl")
export AIMessage
include("messages.jl")

# export ConversationMemory
export ConversationMemory
include("memory.jl")
# export annotate!
include("annotation.jl")
Expand Down

2 comments on commit f73e683

@svilupp
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Breaking

  • Changed the official ENV variable for MistralAI API from MISTRALAI_API_KEY to MISTRAL_API_KEY to be compatible with the Mistral docs.

Added

  • Added a new Gemini Experimental model from November 2024 (gemini-exp-1121 with alias gemexp).
  • Added a new AnnotationMessage type for keeping human-only information in the message changes. See ?annotate! on how to use it.
  • Added a new ConversationMemory type (exported) to enable long multi-turn conversations with a truncated memory of the conversation history. Truncation works in "batches" to not prevent caching. See ?ConversationMemory and get_last for more information.

Updated

  • Changed the ENV variable for MistralAI API from MISTRALAI_API_KEY to MISTRAL_API_KEY to be compatible with the Mistral docs.

Commits

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/120228

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.65.0 -m "<description of version>" f73e683e79986775a75ac33275601c749a02ee06
git push origin v0.65.0

Please sign in to comment.