Skip to the page

SpecStream for Fyin

SpecStream is the live web data engine for teams and agents. Fyin's search code reads Bing's reply shape. Set BING_ENDPOINT to SpecStream's Bing address, and each question searches the live web through SpecStream's Search API.

What you get

One address in .env
BING_ENDPOINT takes SpecStream's address and BING_SUBSCRIPTION_KEY takes your key. Fyin's code stays as it is.
Answers from OpenAI or Ollama
The search runs on SpecStream, and the answer comes from the model you set, on OpenAI or on Ollama on your machine.
Paid per search
Each question is one search of up to 10 results on the fast tier, $1 per 1,000, paid from your balance with no quote and no approval.

Set it up

  1. Clone shadowfax92/Fyin and copy src/bing.rs to src/search.rs.
  2. Copy sample.env to .env and set BING_ENDPOINT=https://api.specstream.ai/v7.0/search and BING_SUBSCRIPTION_KEY to your SpecStream key.
  3. Run cargo run --release -- --query "your question" --search 10.

The full setup guide has every step, with what to do if something doesn’t arrive.

Live web data, in Fyin.

Ask in your own words for companies, places, people, filings or anything else the web lists.