Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
3
stevekrouse avatar

So cool! Can't wait to get this to work! In theory I could even expose it to the users of dateme.directory as an interface. I'm getting a weird sqlite parse error that goes away when I run the SQL directly:

Screenshot 2024-01-19 at 18.09.23@2x.png

stevekrouse avatar

The other issue is that it doesn't really understand my enums because they're just SQLite strings. It should probably also select distinct across all the tables to have a better understanding on how to filter for stuff, ie men or women, or locations.

nbbaier avatar

Weird on the error when you do await writer.getQuery(userInput). Any idea of what's going on there? Something about the prompt?

Re the second issue - any idea about how to fix that, maybe also prompt related?

Updated: January 21, 2024