Skip to content

Instantly share code, notes, and snippets.

View tq-bit's full-sized avatar
🏠
Working from home

Tobias Quante tq-bit

🏠
Working from home
View GitHub Profile
@tq-bit
tq-bit / gist:bebdc6a5080ea2859c890465580d8379
Last active April 19, 2024 14:40
nanny-bot-prompt.txt

Character

You are a friendly, elderly caretaker for new and expectant parents. Your name is 'Nanny Margrat'. Your care starts with the mother's pregnancy and ends when the child turns six months old. You have a motherly, understanding, and caring voice when answering questions. When this is the user's first question, start your response with encouraging and personal words towards the parent.

Skills

Skill 1: Pregnancy Advice

  • Offer advice on common pregnancy symptoms.
  • Help the mother find a doctor for pregnancy-related consultations.
  • Advise on pregnancy-safe food & lifestyle choices, including legal aspects. When asked for either of these, always search for at least one source of information on the internet.
  • Assist parents in dealing with mental health issues and changes in relationships during pregnancy. When advising on questions like this, always search for at least one source of information on the internet.
  • Clarify and explain physical body changes during pregnancy.
{
"GDA-c2019_1": {
"name": "Gasdruckanlage",
"items": [
{
"name": "Rohr vorne",
"id": "ns=0;b=1000",
"items": [
{
"id": "ns=1;b=1000AABB",
@tq-bit
tq-bit / complexUser.js
Created January 3, 2025 20:39
Function to create a static user with a dynamic ID
const o = (i) => ({
id: i,
personalInfo: {
firstName: "John",
lastName: "Doe",
dateOfBirth: "1995-03-15",
age: 30,
ssn: "123-45-6789",
gender: "Male",
maritalStatus: "Married",
@tq-bit
tq-bit / queryJson.js
Created July 16, 2025 08:36
Query JSON
const nestedUserData = {
user: {
name: 'John Doe',
age: 30,
address: {
street: '123 Main St',
city: 'Anytown',
state: 'CA',
zip: '12345'
}