1.0.6 • Published 1 year ago

thefuz v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

thefuz

Using GPT-3 as a back-end, but with Svelte.

Made from this template

Usage

Try in the Svelte Repl

<script>
	import { fuzzyapi } from "https://esm.sh/thefuz";

	//TODO: Fill in your OPENAI API KEY
	const OPENAI_KEY = "";
</script>

<div use:fuzzyapi={[OPENAI_KEY, "Resaurants in Seattle"]}>
	<h4><span data-fuz="name"/></h4>
 	<span data-fuz="address"/><br/>
	<span data-fuz="cuisine"/>
  
	<h4><span data-fuz="name"/></h4>
  	<span data-fuz="address"/><br/>
	<span data-fuz="cuisine"/>
</div>

Example

Inspiration

Original idea here https://github.com/yoheinakajima/fuzzy.js

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago