Skip to content

dylanpieper/surveybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

surveybot

surveybot enables conversational data collection using shinychat. Like a traditional interview, users can answer questions through natural dialogue while the LLM extracts structured data, generates content, and asks adaptive follow-up questions.

Usage 🍦✨

shiny::runApp("app.R")

The demo collects ice cream preferences through a shinychat UI. The files are modular to make your own surveybot (package to come).

Key Features

  • LLM data extraction with structured schemas and validation
  • Adaptive questioning based on user responses
  • Automatic retry logic for unclear answers
  • SQL storage with tables "sessions" and "responses" (default is SQLite)

Files

  • app.R - Main Shiny application
  • functions.R - Database operations and chat utilities
  • analyze.R - Database analysis script

About

Conversational Data Collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages