Complete reference for LLMLayer API parameters
"What are the latest developments in quantum computing?"
"openai/gpt-5"
-"openai/gpt-5-mini"
-"openai/gpt-5-nano"
"openai/o3"
"openai/o3-mini"
"openai/o4-mini"
"openai/gpt-4.1"
"openai/gpt-4.1-mini"
"openai/gpt-4o"
"openai/gpt-4o-mini"
"groq/openai-gpt-oss-120b"
"groq/openai-gpt-oss-20b"
"groq/kimi-k2"
"groq/qwen3-32b"
"groq/llama-3.3-70b-versatile"
"groq/deepseek-r1-distill-llama-70b"
"groq/llama-4-maverick-17b-128e-instruct"
"deepseek/deepseek-chat"
"deepseek/deepseek-reasoner"
"anthropic/claude-sonnet-4"
true
, it’s will cost an additional 0.001 $."general"
: Web-wide search"news"
: Recent news articles only"anytime"
, "hour"
, "day"
, "week"
, "month"
, "year"
"auto"
detects from query. See supported languages below."low"
: Small context, faster but less comprehensive"medium"
: Balanced context size (default)"high"
: Large context, more comprehensive but slower and more expensive in input tokens"markdown"
: Formatted text with headers, lists, etc."html"
: HTML formatted response"json"
: Structured JSON (requires json_schema
)answer_type="json"
. Defines the expected JSON structure.Example:["pubmed.gov", "nature.com", "arxiv.org"]
["pubmed.com", "nature.com"]
to include domains and add "-"
to exclude domains, e.g. ["pubmed.com", "-nature.com"]
http://
or https://
prefixes, just the domain name."You are a medical research assistant. Focus on peer-reviewed sources."
"sk-..."
for OpenAI, "sk-ant-..."
for Anthropic
location
parameter accepts country codes for localized results:
response_language
parameter controls the output language: