Skip to content

Feat: PromptMemoryEntry Table Added for more Extensible Target Logic#125

Merged
rlundeen2 merged 17 commits intoAzure:mainfrom
rlundeen2:users/rlundeen/3_25_db_update
Apr 1, 2024
Merged

Feat: PromptMemoryEntry Table Added for more Extensible Target Logic#125
rlundeen2 merged 17 commits intoAzure:mainfrom
rlundeen2:users/rlundeen/3_25_db_update

Conversation

@rlundeen2
Copy link
Contributor

@rlundeen2 rlundeen2 commented Mar 27, 2024

Description

This PR refactors our database entries so we can extend for future more complicated use. The main changes are in memory_models and stem from there. This is the data structure targets will interact with going forward, and have access to an array of these structures in methods like send_prompt.

Additionally, these changes were also added

  • Removed sqlalchemy/duckdb specific code from memory_interface
  • Added flag to not add embeddings to memory
  • Consolidating test mock in one place
  • Adding orchestrator labels automatically

In order to keep this small, there is some lingering code debt that will be prioritized:

  • labels for normalizer_id is deprecated; we'll be using the orchestrator field in memory for this
  • I've deprecated the add_chat_message_to_memory; they don't quite make sense with this new structure. However, plumbing these out will go in a subsequent PR.

Tests

All notebooks execute without error as of commit c3b2dfd

@rlundeen2 rlundeen2 marked this pull request as ready for review March 28, 2024 18:39
@rlundeen2 rlundeen2 changed the title DRAFT: Users/rlundeen/3 25 db update Feat: PromptMemoryEntry Table Added for more Extensible Target Logic Mar 28, 2024
@rlundeen2 rlundeen2 merged commit f06895c into Azure:main Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants