id
stringlengths
14
15
text
stringlengths
23
2.21k
source
stringlengths
52
97
c9b368515959-0
Pandas Dataframe Agent | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/toolkits/pandas
c9b368515959-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsAmadeus ToolkitAzure Cognitive Services ToolkitCSV AgentDocument ComparisonGitHubGmail ToolkitJiraJSON ...
https://python.langchain.com/docs/integrations/toolkits/pandas
c9b368515959-2
df, verbose=True, agent_type=AgentType.OPENAI_FUNCTIONS,)agent.run("how many rows are there?") > Entering new chain... Invoking: `python_repl_ast` with `df.shape[0]` 891There are 891 rows in the dataframe. > Finished chain. 'There are 891 rows in the dataframe.'agent.run("h...
https://python.langchain.com/docs/integrations/toolkits/pandas
c9b368515959-3
Observation: NameError("name 'math' is not defined") Thought: I need to import the math library Action: python_repl_ast Action Input: import math Observation: Thought: I now need to calculate the square root of the average age Action: python_repl_ast Action Input: math.sqrt(df['Age'].mean()) Ob...
https://python.langchain.com/docs/integrations/toolkits/pandas
c9b368515959-4
different.'PreviousNatural Language APIsNextPlayWright Browser ToolkitUsing ZERO_SHOT_REACT_DESCRIPTIONUsing OpenAI FunctionsMulti DataFrame ExampleCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/toolkits/pandas
5f1d8b5e7ab8-0
OpenAPI agents | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsAmadeus ToolkitAzure Cognitive Services ToolkitCSV AgentDocument ComparisonGitHubGmail ToolkitJiraJSON ...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-2
openapi.yaml openai_openapi.yamlwget https://www.klarna.com/us/shopping/public/openai/v0/api-docsmv api-docs klarna_openapi.yamlwget https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/spotify.com/1.0.0/openapi.yamlmv openapi.yaml spotify_openapi.yaml --2023-03-31 15:45:56-- https://raw.githubus...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-3
52.84.150.61, ... Connecting to www.klarna.com (www.klarna.com)|52.84.150.34|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/json] Saving to: ‘api-docs’ api-docs [ <=> ] 1.87K --.-KB/s in 0s 2023-0...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-4
in 0.02s 2023-03-31 15:45:58 (13.3 MB/s) - ‘openapi.yaml’ saved [286747/286747] from langchain.agents.agent_toolkits.openapi.spec import reduce_openapi_specwith open("openai_openapi.yaml") as f: raw_openai_api_spec = yaml.load(f, Loader=yaml.Loader)openai_api_spec = reduce_openapi_spec(raw_openai_ap...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-5
"authorizationCode" ]["scopes"].keys() ) access_token = util.prompt_for_user_token(scope=",".join(scopes)) return {"Authorization": f"Bearer {access_token}"}# Get API credentials.headers = construct_spotify_auth_headers(raw_spotify_api_spec)requests_wrapper = RequestsWrapper(headers=headers)How big is t...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-6
use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI` warnings.warn(spotify_agent = planner.create_openapi_agent(spotify_api_spec, requests_wrapper, llm)user_query = ( "make me a playlist with the first song from kind of blue. c...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-7
create a new playlist named "Machine Blues" for the current user 5. POST /playlists/{playlist_id}/tracks to add the first song from "Kind of Blue" to the "Machine Blues" playlist > Entering new AgentExecutor chain... Action: requests_get Action Input: {"url": "https://api.spotify.com/v1/search?q=Kind%20...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-8
Thought:Action: requests_post Action Input: {"url": "https://api.spotify.com/v1/playlists/7lzoEi44WOISnFYlrAIqyX/tracks", "data": {"uris": ["spotify:track:7q3kkfAVpmcZ8g6JUThi3o"]}, "output_instructions": "Confirm that the track was added to the playlist"} Observation: The track was added to the playlist, con...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-9
api_planner Action Input: I need to find the right API calls to get a blues song recommendation for the user Observation: 1. GET /me to get the current user's information 2. GET /recommendations/available-genre-seeds to retrieve a list of available genres 3. GET /recommendations with the seed_genre paramete...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-10
classical, club, comedy, country, dance, dancehall, death-metal, deep-house, detroit-techno, disco, disney, drum-and-bass, dub, dubstep, edm, electro, electronic, emo, folk, forro, french, funk, garage, german, gospel, goth, grindcore, groove, grunge, guitar, happy, hard-rock, hardcore, hardstyle, heavy-metal, hip-hop,...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-11
name: 'Get Away Jordan' } ] Thought:I am finished executing the plan. Final Answer: The recommended blues song for user Jeremy Welborn (ID: 22rhrz4m4kvpxlsb5hezokzwi) is "Get Away Jordan" with the track ID: 03lXHmokj9qsXspNsPoirR. > Finished chain. Observation: The recommended blues song for...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-12
> Entering new AgentExecutor chain... Action: api_planner Action Input: I need to find the right API calls to generate a short piece of advice Observation: 1. GET /engines to retrieve the list of available engines 2. POST /completions with the selected engine and a prompt for generating a short piece of adv...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-13
ada-code-search-text, text-search-ada-doc-001, davinci-instruct-beta, text-similarity-curie-001, code-search-ada-code-001 Thought:I will use the "davinci" engine to generate a short piece of advice. Action: requests_post Action Input: {"url": "https://api.openai.com/v1/completions", "data": {"engine": "davinci...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-14
Action Input: 1. GET /models to retrieve the list of available models 2. Choose a suitable model from the list 3. POST /completions with the chosen model as a parameter to generate a short piece of advice > Entering new AgentExecutor chain... Action: requests_get Action Input: {"url": "https://api.op...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-15
to adjust my plan to include a more specific prompt for generating a short piece of advice on improving communication skills. Action: api_planner Action Input: I need to find the right API calls to generate a short piece of advice on improving communication skills, including the model parameter in the POST reques...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-16
"prompt": "Give a short piece of advice on how to improve communication skills"}, "output_instructions": "Extract the text from the first choice"} Observation: "Some basic advice for improving communication skills would be to make sure to listen" Thought:I am finished executing the plan. Final Answer: Some...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-17
= JsonSpec(dict_=data, max_value_length=4000)openapi_toolkit = OpenAPIToolkit.from_llm( OpenAI(temperature=0), json_spec, openai_requests_wrapper, verbose=True)openapi_agent_executor = create_openapi_agent( llm=OpenAI(temperature=0), toolkit=openapi_toolkit, verbose=True)openapi_agent_executor.run( "Make a pos...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-18
> Finished chain. Observation: The base url for the API is https://api.openai.com/v1 Thought: I should find the path for the /completions endpoint. Action: json_explorer Action Input: What is the path for the /completions endpoint? > Entering new AgentExecutor chain... Action: json_spec_list_k...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-19
endpoint is data["paths"][2] Thought: I should find the required parameters for the POST request. Action: json_explorer Action Input: What are the required parameters for a POST request to the /completions endpoint? > Entering new AgentExecutor chain... Action: json_spec_list_keys Action Input: da...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-20
Action Input: data["paths"]["/completions"]["post"] Observation: ['operationId', 'tags', 'summary', 'requestBody', 'responses', 'x-oaiMeta'] Thought: I should look at the requestBody key to see what parameters are required Action: json_spec_list_keys Action Input: data["paths"]["/completions"]["post"]["requ...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-21
a dict, get the value directly.') Thought: I should look at the $ref key to get the value directly Action: json_spec_get_value Action Input: data["paths"]["/completions"]["post"]["requestBody"]["content"]["application/json"]["schema"]["$ref"] Observation: #/components/schemas/CreateCompletionRequest Thou...
https://python.langchain.com/docs/integrations/toolkits/openapi
5f1d8b5e7ab8-22
with mummy not there�\n\nYou dig deep and come up with,","index":0,"logprobs":null,"finish_reason":"length"}],"usage":{"prompt_tokens":4,"completion_tokens":16,"total_tokens":20}} Thought: I now know the final answer. Final Answer: The response of the POST request is {"id":"cmpl-70Ivzip3dazrIXU8DSVJGzFJj2rd...
https://python.langchain.com/docs/integrations/toolkits/openapi
b11f0b621f6a-0
Tools | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/
b11f0b621f6a-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/
b11f0b621f6a-2
API wrapper to obtain search engine results. The DataForSeo API allows users to retrieve SERP from most popular search engines like Google, Bing, Yahoo. It also allows to get SERPs from different search engine types like Maps, News, Events, etc.📄� DuckDuckGo SearchThis notebook goes over how to use the duck-duck-g...
https://python.langchain.com/docs/integrations/tools/
b11f0b621f6a-3
IFTTT Webhooks.📄ï¸� Lemon AI NLP Workflow Automation\📄ï¸� Metaphor SearchMetaphor is a search engine fully designed to be used by LLMs. You can search and then get the contents for any page.📄ï¸� OpenWeatherMap APIThis notebook goes over how to use the OpenWeatherMap component to fetch weather information.📄ï...
https://python.langchain.com/docs/integrations/tools/
b11f0b621f6a-4
using a wiki-based editing system called MediaWiki. Wikipedia is the largest and most-read reference work in history.📄� Wolfram AlphaThis notebook goes over how to use the wolfram alpha component.📄� YouTubeSearchToolThis notebook shows how to use a tool to search YouTube📄� Zapier Natural Language Actions...
https://python.langchain.com/docs/integrations/tools/
ef7a9b565f65-0
ArXiv API Tool | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/arxiv
ef7a9b565f65-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/arxiv
ef7a9b565f65-2
Observation: Published: 2016-05-26 Title: Heat-bath random walks with Markov bases Authors: Caprice Stanley, Tobias Windisch Summary: Graphs on lattice points are studied whose edges come from a finite set of allowed moves of arbitrary length. We show that the diameter of these graphs on fibers of a fixe...
https://python.langchain.com/docs/integrations/tools/arxiv
ef7a9b565f65-3
Heat-bath random walks with Markov bases\nAuthors: Caprice Stanley, Tobias Windisch\nSummary: Graphs on lattice points are studied whose edges come from a finite set of\nallowed moves of arbitrary length. We show that the diameter of these graphs on\nfibers of a fixed integer matrix can be bounded from above by a const...
https://python.langchain.com/docs/integrations/tools/arxiv
ef7a9b565f65-4
study the mixing behaviour of heat-bath random walks on these graphs. We\nalso state explicit conditions on the set of moves so that the heat-bath random\nwalk, a generalization of the Glauber dynamics, is an expander in fixed\ndimension.\n\nPublished: 2003-03-18\nTitle: Calculation of fluxes of charged particles and n...
https://python.langchain.com/docs/integrations/tools/arxiv
0d6d218fc918-0
GraphQL tool | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/graphql
0d6d218fc918-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/graphql
0d6d218fc918-2
the tool.from langchain import OpenAIfrom langchain.agents import load_tools, initialize_agent, AgentTypefrom langchain.utilities import GraphQLAPIWrapperllm = OpenAI(temperature=0)tools = load_tools( ["graphql"], graphql_endpoint="https://swapi-graphql.netlify.app/.netlify/functions/index",)agent = initialize_ag...
https://python.langchain.com/docs/integrations/tools/graphql
0d6d218fc918-3
{\n \"title\": \"A New Hope\"\n },\n {\n \"title\": \"The Empire Strikes Back\"\n },\n {\n \"title\": \"Return of the Jedi\"\n },\n {\n \"title\": \"The Phantom Menace\"\n },\n {\n \"title\": \"Attack of the Clones\"\n },\n {\n ...
https://python.langchain.com/docs/integrations/tools/graphql
8ede9b12b168-0
huggingface_tools | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/huggingface_tools
8ede9b12b168-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/huggingface_tools
8ede9b12b168-2
loaded directly using the load_huggingface_tool function.# Requires transformers>=4.29.0 and huggingface_hub>=0.14.1pip install --upgrade transformers huggingface_hub > /dev/nullfrom langchain.agents import load_huggingface_tooltool = load_huggingface_tool("lysandre/hf-model-downloads")print(f"{tool.name}: {tool.descri...
https://python.langchain.com/docs/integrations/tools/huggingface_tools
c16777cb82ce-0
Gradio Tools | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/gradio_tools
c16777cb82ce-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/gradio_tools
c16777cb82ce-2
a tool​from gradio_tools.tools import StableDiffusionToollocal_file_path = StableDiffusionTool().langchain.run( "Please create a photo of a dog riding a skateboard")local_file_path Loaded as API: https://gradio-client-demos-stable-diffusion.hf.space ✔ Job Status: Status.STARTING eta: None '/Users/ha...
https://python.langchain.com/docs/integrations/tools/gradio_tools
c16777cb82ce-3
"but improve my prompt prior to using an image generator." "Please caption the generated image and create a video for it using the improved prompt." )) Loaded as API: https://gradio-client-demos-stable-diffusion.hf.space ✔ Loaded as API: https://taesiri-blip-2.hf.space ✔ Loaded as API: https://mi...
https://python.langchain.com/docs/integrations/tools/gradio_tools
c16777cb82ce-4
Job Status: Status.PROCESSING eta: None Observation: /Users/harrisonchase/workplace/langchain/docs/modules/agents/tools/integrations/2e280ce4-4974-4420-8680-450825c31601/tmpfmiz2g1c.jpg Thought: Do I need to use a tool? Yes Action: ImageCaptioner Action Input: /Users/harrisonchase/workplace/langchain/do...
https://python.langchain.com/docs/integrations/tools/gradio_tools
c16777cb82ce-5
eta: 21.314297944849187 Observation: /var/folders/bm/ylzhm36n075cslb9fvvbgq640000gn/T/tmp5snj_nmzf20_cb3m.mp4 Thought: Do I need to use a tool? No AI: Here is a video of a painting of a dog sitting on a skateboard. > Finished chain.PreviousGoogle Serper APINextGraphQL toolUsing a toolUsing within an...
https://python.langchain.com/docs/integrations/tools/gradio_tools
6720695c84a6-0
DuckDuckGo Search | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/ddg
6720695c84a6-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/ddg
6720695c84a6-2
hoo-SAYN oh-BAH-mÉ™; born August 4, 1961) is an American former politician who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, he was the first African-American president of the United States. Obama previously served as a U.S. senator representing ... Barack Obama ...
https://python.langchain.com/docs/integrations/tools/ddg
68471e0b586d-0
File System Tools | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/filesystem
68471e0b586d-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/filesystem
68471e0b586d-2
straightforward prompt injection.toolkit = FileManagementToolkit( root_dir=str(working_directory.name)) # If you don't provide a root_dir, operations will default to the current working directorytoolkit.get_tools() [CopyFileTool(name='copy_file', description='Create a copy of a file in a specified location', arg...
https://python.langchain.com/docs/integrations/tools/filesystem
68471e0b586d-3
description='Move or rename a file from one location to another', args_schema=<class 'langchain.tools.file_management.move.FileMoveInput'>, return_direct=False, verbose=False, callback_manager=<langchain.callbacks.shared.SharedCallbackManager object at 0x1156f4350>, root_dir='/var/folders/gf/6rnp_mbx5914kx7qmmh7xzmw000...
https://python.langchain.com/docs/integrations/tools/filesystem
68471e0b586d-4
File System Tools​If you only want to select certain tools, you can pass them in as arguments when initializing the toolkit, or you can individually initialize the desired tools.tools = FileManagementToolkit( root_dir=str(working_directory.name), selected_tools=["read_file", "write_file", "list_directory"],).ge...
https://python.langchain.com/docs/integrations/tools/filesystem
68471e0b586d-5
write_tool, list_tool = toolswrite_tool.run({"file_path": "example.txt", "text": "Hello World!"}) 'File written successfully to example.txt.'# List files in the working directorylist_tool.run({}) 'example.txt'PreviousDuckDuckGo SearchNextGolden QueryThe FileManagementToolkitSelecting File System ToolsCommunityDis...
https://python.langchain.com/docs/integrations/tools/filesystem
4cb173dbed63-0
Google Serper API | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsApifyArXiv API ToolawslambdaShell ToolBing SearchBrave SearchChatGPT PluginsDataForSeo API Wrapper...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-2
Answer", func=search.run, description="useful for when you need to ask with search", )]self_ask_with_search = initialize_agent( tools, llm, agent=AgentType.SELF_ASK_WITH_SEARCH, verbose=True)self_ask_with_search.run( "What is the hometown of the reigning men's U.S. Open champion?") > E...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-3
10, 'type': 'search'}, 'knowledgeGraph': {'title': 'Apple', 'type': 'Technology company', 'website': 'http://www.apple.com/', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwGQRv5TjjkycpctY66mOg_e2-npa...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-4
'revenue, with US$394.3 billion in 2022 ' 'revenue. As of March 2023, Apple is the ' "world's biggest...", 'descriptionSource': 'Wikipedia', 'descriptionLink': 'https://en.wikipedia.org/wiki/Apple_I...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-5
'Founded': 'April 1, 1976, Los Altos, CA', 'Founders': 'Steve Jobs, Steve Wozniak, ' 'Ronald Wayne, and more', 'Products': 'iPhone, iPad, Apple TV, and ' ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-6
'TV, plus explore accessories, entertainment, ...', 'sitelinks': [{'title': 'Support', 'link': 'https://support.apple.com/'}, {'title': 'iPhone', 'link': 'https://www.apple.com/iphone/'}, ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-7
'link': 'https://www.apple.com/mac/'}, {'title': 'Watch', 'link': 'https://www.apple.com/watch/'}], 'position': 1}, {'title': 'Apple Inc. - Wikipedia', 'link': 'https://en.wikipedia.org/wiki/Apple_Inc.', ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-8
'Mac; Full list', 'Founders': 'Steve Jobs; Steve Wozniak; Ronald ' 'Wayne; Mike Markkula'}, 'sitelinks': [{'title': 'History', 'link': 'https://en.wikipedia.org/wiki/History_of_Apple_Inc.'}, ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-9
'link': 'https://en.wikipedia.org/wiki/Litigation_involving_Apple_Inc.'}, {'title': 'Apple Store', 'link': 'https://en.wikipedia.org/wiki/Apple_Store'}], 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRvmB5fT1LjqpZx02UM7...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-10
'manufacturer of personal computers, smartphones, ' 'tablet computers, computer peripherals, and computer ' '...', 'attributes': {'Related People': 'Steve Jobs Steve Wozniak Jony ' 'Ive Tim Cook An...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-11
'Bloomberg.com', 'link': 'https://www.bloomberg.com/quote/AAPL:US', 'snippet': 'AAPL:USNASDAQ GS. Apple Inc. COMPANY INFO ; Open. ' '170.09 ; Prev Close. 169.59 ; Volume. 48,425,696 ; ' 'Market Cap. 2.667T ; Day Range. 167.54170.3...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-12
'and accessories worldwide. The company offers ' 'iPhone, a line ...', 'position': 5}, {'title': 'Apple Inc. (AAPL) Stock Price, News, Quote & History - ' 'Yahoo Finance', 'link': 'https://finance.yahoo.com/quote/AAP...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-13
' 'markets smartphones, personal\n' 'computers, tablets, wearables and accessories ' 'and sells a range of related\n' 'services.', 'title': 'AAPL.O - | Stock Pri...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-14
'company famous for creating the iPhone, iPad ' 'and Macintosh computers.', 'title': 'What is Apple? An products and history overview ' '- TechTarget', 'link': 'https://www.techtarget.com/whatis/definition/Ap...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-15
'applications and related services, ' 'accessories, and third-party digital content.\n' "Apple's product portfolio includes iPhone, " 'iPad, Mac, iPod, Apple Watch, and\n' 'Apple TV.',...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-16
'Timothy Donald Cook (born November 1, 1960) is ' 'an American business executive\n' 'who has been the chief executive officer of ' 'Apple Inc. since 2011. Cook\n' "previously served a...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-17
'link': 'https://en.wikipedia.org/wiki/Tim_Cook'}], 'relatedSearches': [{'query': 'Who invented the iPhone'}, {'query': 'Apple iPhone'}, {'query': 'History of Apple company PDF'}, {'query': 'Apple company history'}, {'qu...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-18
'Lion', 'gl': 'us', 'hl': 'en', 'num': 10, 'type': 'images'}, 'images': [{'title': 'Lion - Wikipedia', 'imageUrl': 'https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Lion_waiting_in_Namibia.jp...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-19
'source': 'Wikipedia', 'domain': 'en.wikipedia.org', 'link': 'https://en.wikipedia.org/wiki/Lion', 'position': 1}, {'title': 'Lion | Characteristics, Habitat, & Facts | Britannica', 'imageUrl': 'https://cdn.britannica.com/55/2155-050-604F5A4...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-20
'link': 'https://www.britannica.com/animal/lion', 'position': 2}, {'title': 'African lion, facts and photos', 'imageUrl': 'https://i.natgeofe.com/n/487a0d69-8202-406f-a6a0-939ed3704693/african-lion.JPG', 'imageWidth': 3072, 'imageHeight': 20...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-21
'position': 3}, {'title': 'Saint Louis Zoo | African Lion', 'imageUrl': 'https://optimise2.assets-servd.host/maniacal-finch/production/animals/african-lion-01-01.jpg?w=1200&auto=compress%2Cformat&fit=crop&dm=1658933674&s=4b63f926a0f524f2087a8e0613282bdb', 'imageWidth': 120...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-22
'https://stlzoo.org/animals/mammals/carnivores/lion', 'position': 4}, {'title': 'How to Draw a Realistic Lion like an Artist - Studio ' 'Wildlife', 'imageUrl': 'https://studiowildlife.com/wp-content/uploads/2021/10/245528858_183911853822648_6669060...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-23
'link': 'https://studiowildlife.com/how-to-draw-a-realistic-lion-like-an-artist/', 'position': 5}, {'title': 'Lion | Characteristics, Habitat, & Facts | Britannica', 'imageUrl': 'https://cdn.britannica.com/29/150929-050-547070A1/lion-Kenya-Masai-Mara-National-Reserve.jpg',...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-24
'link': 'https://www.britannica.com/animal/lion', 'position': 6}, {'title': "Where do lions live? Facts about lions' habitats and " 'other cool facts', 'imageUrl': 'https://www.gannett-cdn.com/-mm-/b2b05a4ab25f4fca0316459e1c7404c537a89702/c=0-0-136...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-25
299, 'thumbnailHeight': 168, 'source': 'USA Today', 'domain': 'www.usatoday.com', 'link': 'https://www.usatoday.com/story/news/2023/01/08/where-do-lions-live-habitat/10927718002/', 'position': 7}, {'title': 'Lion', ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-26
225, 'thumbnailHeight': 225, 'source': 'National Geographic Kids', 'domain': 'kids.nationalgeographic.com', 'link': 'https://kids.nationalgeographic.com/animals/mammals/facts/lion', 'position': 8}, {'title': "Lion | Smithsoni...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-27
'thumbnailHeight': 174, 'source': "Smithsonian's National Zoo", 'domain': 'nationalzoo.si.edu', 'link': 'https://nationalzoo.si.edu/animals/lion', 'position': 9}, {'title': "Zoo's New Male Lion Explores Habitat for the First Time " ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-28
'thumbnailHeight': 205, 'source': 'Virginia Zoo', 'domain': 'virginiazoo.org', 'link': 'https://virginiazoo.org/zoos-new-male-lion-explores-habitat-for-thefirst-time/', 'position': 10}]}Searching for Google News​We can also query Google News using this w...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-29
Denholm', 'link': 'https://www.reuters.com/business/autos-transportation/iss-recommends-tesla-investors-vote-against-re-election-robyn-denholm-2023-05-04/', 'snippet': 'Proxy advisory firm ISS on Wednesday recommended Tesla ' 'investors vote against re-election of bo...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-30
'snippet': 'Tesla Inc was the biggest loser among top companies by ' 'market capitalisation in April, hit by disappointing ' 'quarterly earnings after it...', 'date': '1 day ago', 'source': 'Reuters', 'imageUrl': 'https://encryp...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-31
after Tesla discounted its ' 'competing EVs, portending tighter...', 'date': '6 hours ago', 'source': 'Bloomberg.com', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS_3Eo4VI0H-nTeIbYc5DaQn5ep7YrWnmhx6pv8XddFgNF5zRC9gEpHfDq8yQ&s', ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-32
'the U.S. Air Force,...', 'date': '4 hours ago', 'source': 'Yahoo Finance', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQO0uVn297LI-xryrPNqJ-apUOulj4ohM-xkN4OfmvMOYh1CPdUEBbYx6hviw&s', 'position': 4}, {'title': 'Tesla resumes U....
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-33
'source': 'Yahoo Finance', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTIZetJ62sQefPfbQ9KKDt6iH7Mc0ylT5t_hpgeeuUkHhJuAx2FOJ4ZTRVDFg&s', 'position': 5}, {'title': 'The Tesla Model 3 Long Range AWD Is Now Available in the ' 'U.S. With ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-34
Tesla App', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSecrgxZpRj18xIJY-nDHljyP-A4ejEkswa9eq77qhMNrScnVIqe34uql5U4w&s', 'position': 6}, {'title': 'Tesla Cybertruck alpha prototype spotted at the Fremont ' 'factory in new pics and vi...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-35
Oracle', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRO7M5ZLQE-Zo4-_5dv9hNAQZ3wSqfvYCuKqzxHG-M6CgLpwPMMG_ssebdcMg&s', 'position': 7}, {'title': 'Tesla putting facility in new part of country - Austin ' 'Business Journal', ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-36
Journals', 'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR9kIEHWz1FcHKDUtGQBS0AjmkqtyuBkQvD8kyIY3kpaPrgYaN7I_H2zoOJsA&s', 'position': 8}, {'title': 'Tesla (TSLA) Resumes Orders for Model 3 Long Range After ' 'Backlog', 'l...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-37
'imageUrl': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTWWIC4VpMTfRvSyqiomODOoLg0xhoBf-Tc1qweKnSuaiTk-Y1wMJZM3jct0w&s', 'position': 9}]}If you want to only receive news articles published in the last hour, you can do the following:search = GoogleSerperAPIWrapper(type="news", tbs="qdr:h")result...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-38
in ...', 'link': 'https://www.reuters.com/world/us/oklahoma-gov-stitt-sees-growing-foreign-interest-investments-state-2023-05-04/', 'snippet': 'T)), a battery supplier to electric vehicle maker Tesla ' 'Inc (TSLA.O), said on Sunday it is considering building ' ...
https://python.langchain.com/docs/integrations/tools/google_serper
4cb173dbed63-39
en EU', 'link': 'https://www.tyt.com.mx/nota/ryder-lanza-solucion-llave-en-mano-para-vehiculos-electricos-en-eu', 'snippet': 'Ryder System Inc. presentó RyderElectric+ TM como su ' 'nueva solución llave en mano ... Ryder también tiene ' 'r...
https://python.langchain.com/docs/integrations/tools/google_serper