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

it's not using my note as context #51

Closed
Krunsher opened this issue Jun 1, 2023 · 9 comments
Closed

it's not using my note as context #51

Krunsher opened this issue Jun 1, 2023 · 9 comments
Labels
question Further information is requested

Comments

@Krunsher
Copy link

Krunsher commented Jun 1, 2023

First, I clicked on "Use active note as context"
I'm having this issue, it's not using my note as context:

Reading [[My note]]...
Please switch to "QA: Active Note" to ask questions about it.

or

I have Read [[Adam]].
Please switch to "QA: Active Note" to ask questions about it.

2023-06-01_14-57

@logancyang
Copy link
Owner

logancyang commented Jun 1, 2023

Have you switched to "QA: Active Note" in the chain selection dropdown?

Looks like you haven't because if you switched, it will say "OK Feel free to ask me questions about [[your note]]"

@Krunsher
Copy link
Author

Krunsher commented Jun 1, 2023

I'm looking for the place to do this and I can't find it.

@logancyang
Copy link
Owner

It's the new dropdown menu right next to the button you clicked, says "Conversation" by default, shows "Chain Selection" when you hover over it. Seems this is confusing for some folks.

I'm considering removing the old button because switching to QA:Active Note is enough to start the QA, the button is not necessary anymore unless you would like to switch to another context. But even switching context is possible without that button because you can always switch back to Conversation and then back to QA to switch context.

@Krunsher
Copy link
Author

Krunsher commented Jun 1, 2023

Oh yes, I did! I had thought that all I had to do was click that button. The "Conversation" button went unnoticed, I didn't think it was a drop-down menu.

@Krunsher
Copy link
Author

Krunsher commented Jun 1, 2023

About the context, how many words are you limited to? Or is it like the conversation continued?

@logancyang
Copy link
Owner

logancyang commented Jun 1, 2023

I'm updating the old button to "Rebuild index for active note" and putting it to the right of the dropdown menu for now. And I renamed the dropdown to "Mode Selection". Will be updated in the next release.
image

@logancyang
Copy link
Owner

About the context, how many words are you limited to? Or is it like the conversation continued?

Not sure I understand your question. In QA mode, the context is the note itself, it has unlimited length (in the next step I'm persisting it in a local DB that has a max item size of 4GB, that is still crazy long for plain text). In conversation mode, the conversation context is governed by "Conversation turns in context" parameter in the settings.

@logancyang
Copy link
Owner

About the context, how many words are you limited to? Or is it like the conversation continued?

Oh if you are asking if there's conversation context in QA mode, like if you asked question A in QA mode, when you ask question B will it remember question A. The answer is no at this time. Every QA question is one-off for now.

Initially I was implementing a solution that has conversation history in QA mode. But that was blocked by a bug on the LangchainJS side. So I'm using one-off QA for now, but once the bug is fixed, Copilot will remember your conversation even in QA mode. Hopefully very soon!

@logancyang logancyang added the question Further information is requested label Jun 1, 2023
@logancyang
Copy link
Owner

Closing this one. It is referenced in FAQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants