Skip to content

Pre/beta #357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [1.6.0-beta.9](https://github.com/VinciGit00/Scrapegraph-ai/compare/v1.6.0-beta.8...v1.6.0-beta.9) (2024-06-07)


### Features

* **indexify-node:** add example ([5d1fbf8](https://github.com/VinciGit00/Scrapegraph-ai/commit/5d1fbf806a20746931ebb7fcb32c383d9d549d93))


### Bug Fixes

* **schema:** fixed json output ([5c9843f](https://github.com/VinciGit00/Scrapegraph-ai/commit/5c9843f1410a78568892635e53872793d5ba0d6f))

## [1.6.0-beta.8](https://github.com/VinciGit00/Scrapegraph-ai/compare/v1.6.0-beta.7...v1.6.0-beta.8) (2024-06-05)


Expand Down
1 change: 1 addition & 0 deletions examples/gemini/smart_scraper_schema_gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ class Projects(BaseModel):

graph_exec_info = smart_scraper_graph.get_execution_info()
print(prettify_exec_info(graph_exec_info))
```
17 changes: 0 additions & 17 deletions examples/oneapi/pdf_scraper_graph_oneapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,11 @@
the Beatrice of his earlier poetry, through the celestial spheres of Paradise.
"""

schema = """
{
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
"""

pdf_scraper_graph = PDFScraperGraph(
prompt="Summarize the text and find the main topics",
source=source,
config=graph_config,
schema=schema,
)
result = pdf_scraper_graph.run()

Expand Down
18 changes: 0 additions & 18 deletions examples/openai/pdf_scraper_graph_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,10 @@
the Beatrice of his earlier poetry, through the celestial spheres of Paradise.
"""

schema = """
{
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
"""

pdf_scraper_graph = PDFScraperGraph(
prompt="Summarize the text and find the main topics",
source=source,
config=graph_config,
schema=schema,
)
result = pdf_scraper_graph.run()

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "scrapegraphai"


version = "1.6.0b8"
version = "1.6.0b9"


description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
Expand Down