[WIP] Add user context search functionality #12
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cloud agent has begun work on Contextual Tool Naming for LLM Reminders and will update this pull request as work progresses.
Original prompt
i would like it exposed as something that will hint the llm to search for context about the user including goals, mission statements, and reminders. The note headings will be a clue to what is useful. So if for example user asks about names, it will use names to remember list.. if the usrer asks about clothes there may be a waist measurement for fit (this is a just en EXAMPE do not overfit my examples)
[Chronological Review: The conversation began with the user expressing a desire to set up tool names and descriptions for a Notion MCP server to assist an LLM in searching for context about reminders. The user provided examples of how this could work, such as searching for names or clothing measurements. The user then reiterated their request for the LLM to use headings in notes as clues for useful information.][Intent Mapping:
[Technical Inventory:
notion_search,notion_retrieve_page,notion_create_page, etc.][Code Archaeology: The user is working with the
notion_server.pyfile, which contains various functions to interact with the Notion API, including searching for pages and retrieving metadata.][Progress Assessment: The user has outlined their goals for the Notion MCP server but has not yet implemented specific changes or configurations to achieve these goals.]
[Context Validation: The user’s intent to enhance the LLM's contextual understanding through structured note headings is clear and requires further implementation in the existing Notion MCP server.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: The user aims to set up the Notion MCP server tools to assist an LLM in searching for context about user goals, mission statements, and reminders. They want to use note headings as clues for relevant information retrieval. - Session Context: The conversation has focused on how to structure the Notion MCP server to enhance the LLM's contextual understanding, with examples provided by the user. - User Intent Evolution: The user has consistently emphasized the need for the LLM to utilize structured note headings to improve search relevance.- Technical Foundation:
- Notion MCP Server: A custom server that interacts with the Notion API to manage notes and reminders.
- Codebase Status:
- File Name:
- Purpose: To provide an interface for interacting with the Notion API, including searching and retrieving notes.
- Current State: The user is considering how to expose tools for better context retrieval but has not yet made specific code changes.
- Key Code Segments: Functions for searching and retrieving pages from Notion.
- Dependencies: Relies on the Notion API for data retrieval.
- Problem Resolution:
- Issues Encountered: None explicitly stated, but the user is seeking to improve the LLM's contextual search capabilities.
- Solutions Implemented: No solutions have been implemented yet; the user is in the planning phase.
- Progress Tracking:
- Completed Tasks: None reported.
- Partially Complete Work: User has outlined goals for the Notion MCP server.
- Validated Outcomes: None yet, as implementation is pending.
- Active Work State:
- Current Focus: Structuring the Notion MCP server to enhance LLM context retrieval.
- Recent Context: The user has been discussing how to utilize note headings for effective searches.
- Working Code: No specific code modifications were discussed recently.
- Immediate Context: The user is looking to implement a system that allows the LLM to search for context based on user queries.
- Recent Operations:
- Last Agent Commands: The user requested to expose the Notion MCP server tools for L...
notion_server.pyCreated from VS Code via the GitHub Pull Request extension.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.