from hyperspell import Hyperspellclient = Hyperspell()response = client.query.search( query="when did the wild west start?", sources=["reddit"], options={"reddit":{"subreddit":"askhistorians"}})print(response.documents)
A summary of the document that can be fed directly into LLMs. When retrieved from the /query endpoint, this may summarize only the sections of the document returned as highlights (ie. parts relevant to your query). Otherwise, it will summarize the entire document.
A structured representation of the page’s content. This field is only returned if the resource is returned from the /documents/get endpoint. If the website is returned from the /query endpoint, this field will be empty and the highlights field will contain the relevant sections of the website.
A list of highlights from the page relevant to the query. This field is only returned if the resource is returned from the /query endpoint.
from hyperspell import Hyperspellclient = Hyperspell()response = client.query.search( query="when did the wild west start?", sources=["reddit"], options={"reddit":{"subreddit":"askhistorians"}})print(response.documents)
from hyperspell import Hyperspellclient = Hyperspell()response = client.query.search( query="when did the wild west start?", sources=["reddit"], options={"reddit":{"subreddit":"askhistorians"}})print(response.documents)