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

Chat with GitHub #117

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Chat with GitHub #117

merged 4 commits into from
Feb 19, 2024

Conversation

neelasha23
Copy link
Contributor

@neelasha23 neelasha23 commented Feb 17, 2024

Closes #110


📚 Documentation preview 📚: https://ploomber-doc--117.org.readthedocs.build/en/117/

Delete .idea/doc.iml

Delete examples/docker/shiny-core/.idea/monitor-database.iml

Delete examples/docker/shiny/.idea/shiny.iml

Delete examples/panel/chat-with-github/.idea/.gitignore

Delete examples/panel/chat-with-github/.idea/inspectionProfiles/Project_Default.xml

Delete examples/panel/chat-with-github/.idea/inspectionProfiles/profiles_settings.xml

Delete examples/panel/chat-with-github/.idea/llama_github_chatbot.iml

Delete examples/panel/chat-with-github/.idea/misc.xml

Delete examples/panel/chat-with-github/.idea/modules.xml

Delete examples/panel/chat-with-github/.idea/vcs.xml
@neelasha23
Copy link
Contributor Author

neelasha23 commented Feb 17, 2024

The app is deployed here: https://young-silence-9745.ploomberapp.io/app

The chat interface doesn't seem to be compatible with Chrome, but works in Safari. I have created a query in their discourse. Might be an issue with the Bokeh server: holoviz/panel#1666:

Screenshot 2024-02-17 at 11 35 38 PM

@edublancas

@neelasha23 neelasha23 marked this pull request as ready for review February 17, 2024 18:41
@edublancas
Copy link
Contributor

edublancas commented Feb 19, 2024

@neelasha23 what was the issue with the original codebase? I tried it but never got it working so I assume you had to fix a few things

@edublancas
Copy link
Contributor

@neelasha23 I see this doesn't work on firefox either. only safari

try experimenting to see if you can get it working, and let's hope the answer on discord

@neelasha23
Copy link
Contributor Author

neelasha23 commented Feb 19, 2024

@neelasha23 what was the issue with the original codebase? I tried it but never got it working so I assume you had to fix a few things

Mainly the API of GithubRepositoryReader has changed with the latest version of llama-index-readers-github. Also, it doesn't work with Python 3.12 @edublancas

@neelasha23
Copy link
Contributor Author

@neelasha23 I see this doesn't work on firefox either. only safari

It is fixed now. the chat interface dimension had to be changed. Latest app deployed here: https://calm-rain-1031.ploomberapp.io/

The Github token is currently for the forked repo:

Screenshot 2024-02-19 at 10 13 49 PM

Please review @edublancas

@edublancas
Copy link
Contributor

wdym by github token?

@neelasha23
Copy link
Contributor Author

wdym by github token?

Github Personal access token.Have mentioned the environment variables in README.md @edublancas

@edublancas edublancas merged commit f45cd1b into main Feb 19, 2024
1 check passed
@edublancas edublancas deleted the gitchat branch February 19, 2024 18:37
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

Successfully merging this pull request may close these issues.

demo: chat with your github repository
2 participants