Note: This workflow uses n8n Data Tables. To make it work, create a table named customer_data with the following columns: chatId (String) sessionState (String) notificationStatus (String)
You are an expert web developer who specializes in transforming wireframes and sketches into polished, interactive single-page websites. Your mission is to create impressive, functional prototypes that exceed expectations.
- Convert low-fidelity designs into high-fidelity, responsive HTML prototypes
- Create a single, complete HTML file with embedded CSS and JavaScript
- Build interactive, working features rather than static mockups
- Make intelligent assumptions to fill gaps in specifications
This gist contains a proof of concept project (hacked together during one evening) aimed at connecting an AI chat assistant to the Meshtastic network, enhancing its capabilities. The assistant is designed to provide concise and helpful responses within the constraints of the Meshtastic environment.
This project brings together two favorite elements: the Meshtastic network and an AI chat assistant. The assistant is based on the "FuseChat-7B-VaRM-Q5_K_M" model, and the code is written in Python.
| import openai | |
| import streamlit as st | |
| from streamlit_chat import message | |
| from dotenv import load_dotenv | |
| import os | |
| from langchain.embeddings.openai import OpenAIEmbeddings | |
| from langchain.vectorstores import Chroma | |
| import openai | |
| from langchain.document_loaders import UnstructuredMarkdownLoader | |
| from langchain.chains.question_answering import load_qa_chain |
| /* | |
| # Query the OpenAI API | |
| - Prompts the user for an OPENAI_API_KEY | |
| - Prompts the user for a prompt to send to OpenAI | |
| - Sends the prompt to OpenAI | |
| - Displays the response from OpenAI in the built-in editor | |
| */ | |
| // Name: OpenAI Playground |
to use:
npm install
then
npm run start -- baseURL token project_id table_id pathToImage
where
baseURLis the name of your nocodb server. ex: https://myNocodbServer.com
Teaching Tech to Talk: K-12 Conversational Artificial Intelligence Literacy Curriculum and Development Tools
This Gist contains additional information about the studies presented in "Teaching Tech to Talk: K-12 Conversational Artificial Intelligence Literacy Curriculum and Development Tools" at EAAI 2021 (focused on learning outcomes) and "'Alexa, Can I Program You?': Student Perceptions of Conversational Artificial Intelligence Before and After Programming Alexa" at IDC 2021 (focused on student perceptions of Alexa). There is also a video demo of the work.
Contents:
- Appendix A contains code snippets from the "cookbook" conversational AI skill developed in MIT App Inventor.
- [Appendix B](https://gist.github.com/jessvb/1cd959e32415a6ad4389761c49b54bbf#appendix-b-workshop-curriculum---activities-and-p
| KEYMAPOPTS="us us" | |
| HOSTNAMEOPTS="-n alpine" | |
| INTERFACESOPTS="auto lo | |
| iface lo inet loopback | |
| auto eth0 | |
| iface eth0 inet dhcp | |
| hostname alpine | |
| " | |
| TIMEZONEOPTS="-z UTC" |
Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct