Use Chroma vector store
This commit is contained in:
@@ -44,4 +44,7 @@ class JinaScraper(TextScraper):
|
||||
@override
|
||||
async def get_content(self, url: str) -> str:
|
||||
print(f"Fetching content from: {url}")
|
||||
return await self._fetch_text(f"https://r.jina.ai/{url}")
|
||||
try:
|
||||
return await self._fetch_text(f"https://r.jina.ai/{url}")
|
||||
except httpx.HTTPStatusError:
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user