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

ShareGPT for index and code #470

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Jan 8, 2024

  1. Stored full convo history, added share button

    Stored conversation history by appending prompts and responses
    to self.converser_cog's instance of full_conversation_history.
    The logic for ShareView and ShareButton is exactly the same as index
    text_service_cog.py. The view is sent along with the link to the
    sandbox in code_interpreter_service_cog, however.
    kepler452b123 committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    3ffd1d7 View commit details
    Browse the repository at this point in the history
  2. Stored index convo history, added share button

    Made a new instance variable in index_service_cog.py,
    full_conversation_history (similar to the one in text_service_cog.py)
    Adds all index chat prompts and responses to full_conversation_history.
    Changed the end/stop conversation handler to index_service_cog.py from
    index_model.py. Sends the ShareView when it detects the end/stop,
    same as in text_service_cog.py and code_interpreter_service_cog.py.
    kepler452b123 committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    4e5007e View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Fixed index chat bug: document summary broke Share

    Typecasted Response object to string so that it could be serialized
    into JSON and sent to ShareGPT.
    kepler452b123 committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    86c10f3 View commit details
    Browse the repository at this point in the history