Intelligence |> 

Huxley

Huxley is your intelligent web agent that’s capable of deterministically translating natural language input into LSD.

Contents

  1. Capabilities
  2. No REST for the wicked
  3. Querying with natural language

Capabilities

Huxley understands the internet on LSD by taking fields labeled in the bibliography plus available modules to translate natural language input into SQL.

When reading an input, Huxley assumes it will match the following structure:

Or, in written form.

<Sentence referencing defined knowledge>.
<Sentence referencing defined knowledge>.
<Describe web traversing>.

For example here’s a natural language input Huxley would be able to interpret:

Based on andrea, fox_news_module.
Following from yev, random_click.
Starting at fox, do random_click, what headlines are on this page.

Note: The newlines are not necessary, sentences could be separated by spaces and are shown this way for readability.

No REST for the wicked

Huxley can translate natural language input provided via query query parameter to our /huxley endpoint.

curl --url https://lsd.so/huxley
     --data-urlencode "query=what posts are on this page?"
     --data-urlencode "url=https://news.ycombinator.com"

Note: You have options for how to inform Huxley of the page you’re inquiring about. You can either provide a URL string in the query itself or by using the text this page in the query string accompanied by a url query parameter (as shown above).

curl --url https://lsd.so/huxley
     --data-urlencode "query=what posts are on https://news.ycombinator.com"

Querying with natural language

Huxley is used as a fallback when handling queries provided to our database so you can technically also provide natural language over psql like so:

$ psql -h lsd.so -U huxley
psql (16.4 (Ubuntu 16.4-0ubuntu0.24.04.2), server 0.0.0)
WARNING: psql major version 16, server major version 0.0.
         Some psql features might not work.
Type "help" for help.

huxley=> on hacker news, what posts are there;
                                     post                                     
------------------------------------------------------------------------------
 Passport Photos
 The English Paradox: Four Decades of Life and Language in Japan
 Guy gives a negative review to Battlezone after playing 8k hours; He's right
 Trudeau government bans TikTok from operating in Canada
 Visualizing binary files with ImHex's DSL, the "pattern language"
 A rudimentary quantum network link between Dutch cities
 131M American Buildings
 Private Cloud Compute Security Guide
 Show HN: Hacker News frontpage as a print newspaper that you can personalize
 Creating Runtime and Application Images with JLink
 Don't return named tuples in new APIs
 Show HN: SuperSplat – open-source 3D Gaussian Splat Editor
 One year, 41M digits: How Luke Durant found the largest known prime number
 Launch HN: Midship (YC S24) – Turn PDFs, docs, and images into usable data
 Physicists spot quantum tornadoes twirling in a 'supersolid'
 Australia proposes ban on social media for those under 16
 Forget CDK and AWS's insane costs. Pulumi and DigitalOcean to the rescue
 Show HN: Aide, an open-source AI native IDE
 Nvidia Rides AI Wave to Pass Apple as Largest Company
 Monorepo – Our Experience
 The evolutionary mystery of the German cockroach
 The deep learning boom caught almost everyone by surprise
 Model Predictive Control in the Browser with WebAssembly
 Hacking cars in JavaScript (Replay attacks in the browser with the HackRF)
 Kernel optimization with BOLT (binary optimization and layout tool)
 Ping Rate Clock
 Exposure to phthalate compromises brain function in adult vertebrates
 Switch 2 will be backwards compatible with Switch
 WebSockets cost us $1M on our AWS bill
 3D Rotation Design
(30 rows)

huxley=>