Small code snippets in different languages (mostly R, Python, Bash, PHP & HTML/JS/CSS).
The py-Files contain
- examples of how to generate graphs and subgraphs using the networkx library or how to build knowledge graphs from data on BERUFENET
- examples of gradio interfaces to Large Language Models (LLMs), and to LLMs with Retrieval-Augmented Generation on premises.
- working examples of basic AI applications (e.g. a free & open-source document-based Q&A-bot or several LangChain-Applications based on large language models from huggingface.co) and
- code to interact with smart home devices (e.g., switching a Link2Home-socket on/off via WiFi or reading BLE advertisements of Xiaomi Mi sensors)
The R-files are a mixed bag of interesting functions and applications, e.g.,
- examples of how to interact with AI-models on huggingface.co via API from within R or how to request sentence embeddings,
- exemplary gradio-interface to a FOSS Large Language Model,
- code for generating the complete qqBaseX-package from within R
- code for plotting several kinds of 3D-graphs and objects in R without any dependencies on additional packages
The sh-files contain some scripts for interacting with ChatGPT & GPT3 via API and for interacting with Free Open Source AI on your local machine.
Html files mostly demonstrate some frontend functionalities based on JavaScript or CSS.
They can also be seen in action thanks to GitHub Pages:
Snippet | Link |
---|---|
BERUFENET.AI Application | html/js_berufenet.ai.html |
Huggingface AI Interface | html/js_AIInterface.html |
Bloom Demo | html/js_bloom.html |
ChatGPT Demo | html/js_ChatGPT.html |
Eliza Demo | html/eliza32.html |
Display JSON | html/js_displayJSON.html |
Filter JSON | html/js_filterJSON.html |
API Collection | html/js_apiCollection.html |
Profilbildung | html/js_profilbildung.html |
Loading Animation | html/css_loading_animation_atom.html |
Smart City Dashboard | html/mockup_SmartCityDashboard.html |
Pyscript Demo | html/demo_pyscript.html |
Particles Demo | html/demo_particles.js.html |
Typewriter Demo | html/demo_typewriter.html |
Simple Switch | html/switch.html |
Php files mostly demonstrate basic backend functionalities:
Snippet | Link |
---|---|
Login Example | php/login_example.php |
Search Example | php/sql_search_example.php |
Chat Example | php/sql_chat_example.php |
API Example | php/ausbildungssuche_api_example.php |
Dashboard Example | php/ausbildungssuche_dashboard_example.php |