Skip to content

Commit 374df1a

Browse files
authored
Merge branch 'main' into pre/beta
2 parents 2c197e3 + c224f56 commit 374df1a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ print(markdown)
4444
Extract structured data from any webpage using natural language prompts.
4545

4646
```python
47-
from langchain_scrapegraph.tools import SmartscraperTool
47+
from langchain_scrapegraph.tools import SmartScraperTool
4848

4949
# Initialize the tool (uses SGAI_API_KEY from environment)
5050
tool = SmartscraperTool()
@@ -151,12 +151,12 @@ print(result)
151151

152152
```python
153153
from langchain.agents import initialize_agent, AgentType
154-
from langchain_scrapegraph.tools import SmartscraperTool
154+
from langchain_scrapegraph.tools import SmartScraperTool
155155
from langchain_openai import ChatOpenAI
156156

157157
# Initialize tools
158158
tools = [
159-
SmartscraperTool(),
159+
SmartScraperTool(),
160160
]
161161

162162
# Create an agent

cookbook/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 📚 Official Cookbook
2+
3+
Looking for examples and guides? Then head over to the official ScrapeGraph SDK [Cookbook](https://github.com/ScrapeGraphAI/scrapegraph-sdk/tree/main/cookbook)!
4+
5+
The cookbook provides step-by-step instructions, practical examples, and tips to help you get started and make the most out of ScrapeGraph SDK.
6+
7+
You will find some colab notebooks with our partners as well, such as Langchain 🦜 and LlamaIndex 🦙
8+
9+
Happy scraping! 🚀

0 commit comments

Comments
 (0)