Update all documentation to import extraction strategies directly from crawl4ai.
This commit is contained in:
@@ -334,7 +334,7 @@ asyncio.run(main())
|
||||
schemas.
|
||||
|
||||
```python
|
||||
from crawl4ai.extraction_strategy import JsonCssExtractionStrategy
|
||||
from crawl4ai import JsonCssExtractionStrategy
|
||||
from crawl4ai import LLMConfig
|
||||
|
||||
llm_config = LLMConfig(provider="gemini/gemini-1.5-pro", api_token="env:GEMINI_API_KEY")
|
||||
@@ -402,7 +402,7 @@ print(schema)
|
||||
|
||||
```python
|
||||
from crawl4ai import LLMConfig
|
||||
from crawl4ai.extraction_strategy import LLMExtractionStrategy
|
||||
from crawl4ai import LLMExtractionStrategy
|
||||
from crawl4ai import AsyncWebCrawler, CrawlerRunConfig
|
||||
|
||||
# Example of using LLMConfig with LLMExtractionStrategy
|
||||
|
||||
Reference in New Issue
Block a user