Skip to main content

pyqt-llamaindex

Example of use llama-index in Python desktop application

With combination of llama-index and openai, you can pretty much make your personal chatbot, by your input.

Currently this package is only supporting txt files(i don't know about other file type such as .doc works) in the directory. If you want to feed the chatbot to respond what you want to get answer, put txt file inside the "example" directory in this repo and read the instruction below("How to Run" section) to use it. Of course, you can use your own directory other than the directory i mentioned earlier. Remember, the directory has to contain at least one text file.

By default, example folder contains yjg30737.txt and pyqt-openai.txt. It was used for testing so feel free to remove it if you want.

Requirements

  • PyQt5 >= 5.14

  • openai

  • llama-index

How to Run

  1. git clone ~

  2. cd pyqt-llamaindex

  3. pip install -r requirements.txt

  4. cd pyqt_llamaindex

  5. python main.py

  6. write your openai api key to the top of the screen and clicking "use" button

  7. pressing "set directory" button to import directory which contains text files

  8. chat with your personal chatbot

Preview

image

See Also

Metadata

Release files for pyqt-llamaindex 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqt-llamaindex 0.0.1
File Size Uploaded
pyqt-llamaindex-0.0.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyqt-llamaindex 0.0.1
File Interpreter ABI Platform
pyqt_llamaindex-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / pyqt-llamaindex-0.0.1.tar.gz

Download URL pyqt-llamaindex-0.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dd7bb99b94e1294ea61da11813f4dd1f62a0c2df2ab2321ec668f9ee11b54027
BLAKE2b-256 checksum
How to use checksums
d290174966d7659008bc59bb7ec88797c675dd1b64e2037bdb4c4c154e6b0a95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / pyqt_llamaindex-0.0.1-py3-none-any.whl

Download URL pyqt_llamaindex-0.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dedb6277915359a14cc4c63b036d99e6cd05b21f63bdf728903bfa86942093a
BLAKE2b-256 checksum
How to use checksums
58c8b68e7e5fe15d485c39b9b265d4f66b99d3a75c0d7982db9b10f4ba3b1f81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page