Skip to content

Commit

Permalink
github chat
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Feb 17, 2024
1 parent 09b659f commit f651734
Show file tree
Hide file tree
Showing 12 changed files with 501 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/panel/chat-with-github/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions examples/panel/chat-with-github/.idea/llama_github_chatbot.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions examples/panel/chat-with-github/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions examples/panel/chat-with-github/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions examples/panel/chat-with-github/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions examples/panel/chat-with-github/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM python:3.11

COPY app.py app.py
COPY base.py base.py
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt

ENTRYPOINT ["panel", "serve", "base.py", "--address=0.0.0.0", "--port=80"]
15 changes: 15 additions & 0 deletions examples/panel/chat-with-github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Chat with Github

This Panel app enables users to chat with their GitHub repositories using the llama_index [GithubRepositoryReader](https://docs.llamaindex.ai/en/stable/examples/data_connectors/GithubRepositoryReaderDemo.html).

To run the app you need to set a couple of [environment variables](https://docs.cloud.ploomber.io/en/latest/user-guide/env-vars.html):

* OPENAI_API_KEY
* GITHUB_TOKEN

[Click here](https://docs.cloud.ploomber.io/en/latest/apps/panel.html) to see deployment instructions.


## Credits
This Panel app was [originally developed](https://github.com/run-llama/llama_index/tree/b91ee5cacf00a29e18b3ff91b0f31e83f8cfc139/llama-index-packs/llama-index-packs-panel-chatbot/llama_index/packs/panel_chatbot) by [Sophia Yang](https://github.com/sophiamyang),
and [Marc Skov Madsen](https://github.com/MarcSkovMadsen).
Loading

0 comments on commit f651734

Please sign in to comment.