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

no chat history while using %ai in cells #783

Closed
fotisj opened this issue May 14, 2024 · 4 comments
Closed

no chat history while using %ai in cells #783

fotisj opened this issue May 14, 2024 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@fotisj
Copy link

fotisj commented May 14, 2024

When I use %%ai chatgpt in a cell to ask a question and then ask a follow up question in the next cell, there is no memory of my first question and the answer to it. In short, it seems there is no chat history using %%ai in cells.

For example:

[5] %%ai chatgpt
     Here is a sentence: "Green is the color of my house." What word class is the first word?  

[5] The word 'Green' is an adjective

[6] %%ai chatgpt
     What word class is the second word? 
     
[6] The second word is a noun.

At the moment the documentation doesn't explicitly tell the user that there is no chat history using cell magic, so most people will assume there is a chat history. From this perspective it is a bug.
And I think it would be very useful to have a chat history also in the cells.

@fotisj fotisj added the bug Something isn't working label May 14, 2024
Copy link

welcome bot commented May 14, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@JasonWeill
Copy link
Collaborator

This was previously supported, but only for OpenAI chat models, and it was removed in #551 when we upgraded to a newer version of the OpenAI provider. If we reintroduce this feature, we should make it work with as many model providers as possible.

@krassowski
Copy link
Member

Duplicate of #392?

@JasonWeill
Copy link
Collaborator

Closing in favor of #392.

@JasonWeill JasonWeill added the duplicate This issue or pull request already exists label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants