Solved more nitpick comments
This commit is contained in:
parent
1c0e0f0fe1
commit
54f2580f2d
2 changed files with 2 additions and 2 deletions
|
|
@ -150,7 +150,7 @@ async def add(
|
||||||
await cognee.add("https://example.com",extraction_rules=extraction_rules)
|
await cognee.add("https://example.com",extraction_rules=extraction_rules)
|
||||||
|
|
||||||
# Add a single url and tavily extract ingestion method
|
# Add a single url and tavily extract ingestion method
|
||||||
Make sure to TAVILY_API_KEY = YOUR_TAVILY_API_KEY as a environment variable
|
Make sure to set TAVILY_API_KEY = YOUR_TAVILY_API_KEY as a environment variable
|
||||||
await cognee.add("https://example.com")
|
await cognee.add("https://example.com")
|
||||||
|
|
||||||
# Add multiple urls
|
# Add multiple urls
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ async def fetch_page_content(
|
||||||
extraction_rules are needed.
|
extraction_rules are needed.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Dict[str, Union[str, Dict[str, str]]]: A dictionary mapping each URL to its
|
Dict[str, str]: A dictionary mapping each URL to its
|
||||||
extracted content (as a string for BeautifulSoup or a dict for Tavily).
|
extracted content (as a string for BeautifulSoup or a dict for Tavily).
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue