Skip to content

Commit

Permalink
✨ (memory): implement semantic search for memory retrieval
Browse files Browse the repository at this point in the history
Introduce semantic search capabilities to enhance memory retrieval
based on conversation context. Add vector embedding support to the
Memory data structure and integrate OpenAIEmbeddings for generating
embeddings. Implement a new function, `generate_loading_query`, to
create search queries from conversation states. Update memory storage
and retrieval processes to utilize vector embeddings, enabling more
accurate and relevant memory recall. This enhancement improves the
agent's ability to provide contextually relevant responses by
leveraging past interactions more effectively.
  • Loading branch information
kyaukyuai committed Feb 24, 2025
1 parent e5fe152 commit 5711bcf
Show file tree
Hide file tree
Showing 5 changed files with 502 additions and 382 deletions.
Loading

0 comments on commit 5711bcf

Please sign in to comment.