Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document content is not part of the context? #747

Open
andrewshvv opened this issue Feb 1, 2025 · 1 comment
Open

Document content is not part of the context? #747

andrewshvv opened this issue Feb 1, 2025 · 1 comment

Comments

@andrewshvv
Copy link

andrewshvv commented Feb 1, 2025

Context
Hello, I’m currently working on the Mermaid editor and have chosen this project as my starting point.

The scenario I have in mind involves a user requesting the creation of a Mermaid schema and then having the ability to modify the schema, either manually or through a chat interface.

Issue
I’ve observed that the document content isn't included in the context; only document IDs are. This results in any user questions regarding the current schema in the chat being misleading, as the AI lacks the context of the tool's invocation and its outcome.

Questions
Q: Will the document content be included in the context in the future?
Q: If yes, do you have an ETA for that?
Q: If no, could you please provide some initial guidance on the proper way to add such context without disrupting the application?

Other

  1. It seems as if the content of the tool invocation is not populated here intentionally
    content: 'A document was created and is now visible to the user.',

Solutions

  1. Populate context into chat.
  2. Add additional tool command to explain the current version of document.
@adithya04dev
Copy link

facing same issue!

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

No branches or pull requests

2 participants