Harrison/new search engine (#477)

Co-authored-by: Nicolas <nicolascamara29@gmail.com>
This commit is contained in:
Harrison Chase
2022-12-30 08:06:57 -05:00
committed by GitHub
parent 3e41ab7bff
commit 0072686aab
10 changed files with 651 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
"""Integration test for Google Search API Wrapper."""
from langchain.utilities.google_search import GoogleSearchAPIWrapper
def test_call() -> None:
"""Test that call gives the correct answer."""
search = GoogleSearchAPIWrapper()
output = search.run("What was Obama's first name?")
assert "Barack Hussein Obama II" in output