Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ internet_search.name = "internet_search"
|
|
12 |
internet_search.description = "Returns a list of relevant document snippets for a textual query retrieved from the internet."
|
13 |
|
14 |
|
15 |
-
from pydantic import BaseModel
|
16 |
class TavilySearchInput(BaseModel):
|
17 |
query: str = Field(description="Query to search the internet with")
|
18 |
internet_search.args_schema = TavilySearchInput
|
|
|
12 |
internet_search.description = "Returns a list of relevant document snippets for a textual query retrieved from the internet."
|
13 |
|
14 |
|
15 |
+
from pydantic import BaseModel, Field
|
16 |
class TavilySearchInput(BaseModel):
|
17 |
query: str = Field(description="Query to search the internet with")
|
18 |
internet_search.args_schema = TavilySearchInput
|