A Web Search API supporting natural language search
Get enhanced search details from billions of web documents, including news, images, videos, and more.
tell me the highlights from Apple's 2024 ESG report
Apple's 2024 ESG report highlights its efforts and achievements in reducing greenhouse gas emissions (more than 55% reduction since 2015), promoting clean energy (producing over 16.5 GW of clean energy and having over 320 suppliers commit to using renewable energy for Apple production, resulting in avoided greenhouse gas emissions and diverted waste), and advancing recycling initiatives. It also mentions its Racial Equity and Justice Initiative's Impact Accelerator program supporting green technology and clean energy businesses.
Key Details
- Scores well in ESG metrics, especially on environmental initiatives.
- Has over 320 suppliers committed to using renewable energy for Apple production, avoiding over 18 million metric tons of greenhouse gas emissions.
- Has diverted over 3 million tons of waste from landfills.
- Has made significant progress towards its carbon neutrality goal by the end of this...
{
"_type": "SearchResponse",
"queryContext": {
"originalQuery": "tell me the highlights from Apple's 2024 ESG report"
},
"webPages": {
"webSearchUrl": "https://langsearch.com/search?q=tell me...",
"totalEstimatedMatches": 2096108,
"value": [
{
"id": "https://api.langsearch.com/v1/#Webpages.0",
"name": "Apple cuts greenhouse gas emissions in half",
"url": "https://www.apple.com/newsroom/2024/04/apple-cuts-greenhouse-emissions-in-half/",
"displayUrl": "https://www.apple.com/newsroom/2024/04/apple-cuts-greenhouse-emissions-in-half/",
"snippet": "Apple's 2024 Environmental Progress Report shows the company has reduced its greenhouse gas emissions by more than 55 percent since 2015.",
"summary": "Apple cuts greenhouse gas emissions in half Innovations in clean energy, materials, and recycling are driving progress toward Apple’s ambitious environmental goals Released today, Apple’s 2024 Environmental Progress Report shows that the company has reduced its greenhouse gas emissions by more than 55 percent since 2015. Apple has reduced its overall greenhouse gas... [full text here]",
"datePublished": "2024-04-18T00:00:00Z",
"dateLastCrawled": "2024-04-19T00:00:00Z",
},
// more results
]
}
}
Based on our hybrid search database and semantic reranker
Support for mixed keyword and vector searches, using langsearch-ranker to boost search result accuracy.
LangSearch Rerank model based on transformer architecture
Achieves ranking performance of 280M~560M models with only 80M parameters, offering faster inference and lower cost.
Easy Integration
Integrate the LangSearch API directly, or use LLM tools and AI agent plugins in your applications.
Offical API
curl --location 'https://api.langsearch.com/v1/web-search' \
--header 'Authorization: Bearer Your-API-KEY' \
--header 'Content-Type: application/json' \
--data '{
"query": "tell me the highlights from Apple 2024 ESG report",
"freshness": "oneYear",
"summary": true,
"count": 10
}'
Flexibly call the LangSearch API, supporting custom filtering conditions.
LLM tools
from langchain import OpenAI, ConversationChain
from langchain.prompts import MessagesPlaceholder
llm = OpenAI(temperature=0)
conversation = ConversationChain(
llm=llm,
prompt=MessagesPlaceholder(),
function_calls={"langsearch_func": langsearch_func}
)
Use the LangSearch API via LLM function call, with search result formats specifically optimized.