A downloadable project

Download NowName your own price


BotFace
A Python GPT4ALL with Godot Front-end example [poc]

Goal: Get started with using GPT4ALL as a backend, for Godot Apps. This project uses the default setup for queries but could be edited to include a custom-knowledge database and designed to only generate and or retrieve specific static data [text, images, video] for example.

How to use:

1. Download the files

2. Download the model
[A] Set allow_download to True, the first time your run the Python app. [ llm = GPT4All(model=_model, callback_manager=callback_manager, verbose=True, allow_download=True)

or

[B] Use the gpt4all.io model explorer to download the [ggml-model-gpt4all-falcon-q4_0.bin ] model. Place the downloaded bin file in the Gpt4All Cache. Usually found at: C:\Users\admin\.cache\gpt4all

[Dependencies]
3. Install Python[ Enable PIP and Development Dependencies]

4. Install the Python Dependencies

  • Install gpt4all [pip install gpt4all]
  • Langchain [pip install langchain]
  • Websockets [pip install websockets][client]
  • PySimpleGUI [pip install PySimpleGUI]
  • Flask [pip install Flask]

[GODOT]

5. Import and Open the Godot Project [Godot[python-http-socket]] or Run the BOTFAC3.exe

6. Run both the Python file and the Godot projects at the same time. ***There is no error/exception handling so trying to run any processes without both apps/projects running will cause an app crash.

7. Start the Flask Server.

Links-Refs:

https://gpt4all.io/index.html

https://github.com/wombyz/gpt4all_langchain_chatbots

https://pypi.org/project/langchain/

https://www.npmjs.com/package/langchain

https://pypi.org/project/websockets/

https://pypi.org/project/Flask/

https://pypi.org/project/PySimpleGUI/

https://www.python.org/

Download

Download NowName your own price

Click download now to get access to the following files:

gpt4all_langchain[BOTFACE][Public].zip 16 MB

Development log

Leave a comment

Log in with itch.io to leave a comment.