Mastodon Feed: Post

Mastodon Feed

neatnik@social.lol ("Neatnik :prami:") wrote:

You don’t need an LLM in order to work with natural language. Intent classification and entity extraction are still solid methods for parsing inputs!

Here’s an example of how the DNS Kitchen “Super Duper Easy Mode” will work (except it’ll be in a browser; I’m just testing my parser in the terminal here). Just ~500 lines of PHP can understand requests related to all DNS record types. And no LLMs anywhere!

A screenshot of a terminal window, with the following commands and outputs: $ php dns.php point example.com to 192.168.0.42             example.com.	3600	IN	A	192.168.0.42 $ php dns.php make www.example.com an alias for example.com www.example.com.	3600	IN	CNAME	example.com. $ php dns.php route mail for example.com to mail-service.tld example.com.	3600	IN	MX	10 mail-service.tld. $ php dns.php add a new srv record for _sip._tcp.example.com that points to sipserver.example.com with a priority of 10, a weight of 5, and on port 5060 _sip._tcp.example.com.	3600	IN	SRV	10 5 5060 sipserver.example.com.