A mini world-wide web of machines that serve public API specs rather than html pages.
First, start the synthetic web:
go run ./cmd/www/main.go --servers ./demo/synthetic_servers/v2 --max-num-servers 5For this demo, we'll only spin up 5 servers. See ./endpoints.json for the list of local servers.
Then, build an index of the synthetic web:
go run ./cmd/index --endpoints-path ./endpoints.json --max-concurrency 16 --output-path ./synthetic-web-index.jsonTo run an agent on the synthetic web:
go run ./cmd/agent --search-index ./synthetic-web-index.json --query "Where's the nearest amc theater" --max-concurrency 16To run a query against a search index:
go run ./cmd/search --query "Check my next allstate insurance checkup" --index ./demo/test-index.jsonYou can use the demo index in ./demo/test-index.json or build your own search index.