FEAT Export Conversations and Scores in the same JSON file #422
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
When conversations are added to memory, they have a specific ID. If Conversations have been scored, the ScoreEntry's
prompt_request_response_id
directly matches the PromptMemoryEntryid
. Currently, memory_interface only has 2 functions to export the database conversations to JSON:export_conversation_by_orchestrator_id
andexport_conversation_by_id
. This is great for getting conversations from the DB (but only for PromptMemoryEntry).Describe the solution you'd like
Add a function to the memory_interface for DuckDB that exports conversations and their scores into a JSON file.
This may require creation of an intermediary function that exports scores by
prompt_request_response_id
into a JSON file. The result will be one file that has an entry per Prompt Request Response ID with conversation and score information fields.The text was updated successfully, but these errors were encountered: