Skip to content

598 - Fix pydantic validation error #663

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

Conversation

LorenzoPaleari
Copy link
Contributor

Pydantic validation error happens when using IterativeGraph module.
Problem arises when the IterativeGraph module tries to use the same instantiation of a class for multiple execution, causing the class to not pass correctly llm into his functions.

  • Modified Search graphs to move instantiation inside IterativeGraph
  • IterativeGraph now creates multiple instances of the class we want to iterate over. This can be made better.

Santabot123 and others added 30 commits August 23, 2024 19:00
Co-Authored-By: Marco Vinciguerra <88108002+VinciGit00@users.noreply.github.com>
## [1.16.0-beta.1](ScrapeGraphAI/Scrapegraph-ai@v1.15.1...v1.16.0-beta.1) (2024-08-28)

### Features

* add togheterai ([8f615ad](ScrapeGraphAI@8f615ad))

### chore

* **examples:** create Together AI examples ([34942de](ScrapeGraphAI@34942de))
…antic-validationerror-with-smartscrapergraph

fix: update generate answernode
## [1.16.0-beta.2](ScrapeGraphAI/Scrapegraph-ai@v1.16.0-beta.1...v1.16.0-beta.2) (2024-08-31)

### Bug Fixes

* update generate answernode ([c348f67](ScrapeGraphAI@c348f67))
## [1.16.0-beta.3](ScrapeGraphAI/Scrapegraph-ai@v1.16.0-beta.2...v1.16.0-beta.3) (2024-09-01)

### Bug Fixes

* pyproject.toml ([360ce1c](ScrapeGraphAI@360ce1c))

### CI

* **release:** 1.15.2 [skip ci] ([d88730c](ScrapeGraphAI@d88730c))
VinciGit00 and others added 28 commits September 9, 2024 11:42
…scrape-urls-from-the-source

637 it can´t scrape urls from the source
## [1.19.0-beta.2](ScrapeGraphAI/Scrapegraph-ai@v1.19.0-beta.1...v1.19.0-beta.2) (2024-09-09)

### Features

* return urls in searchgraph ([afb6eb7](ScrapeGraphAI@afb6eb7))

### Bug Fixes

* temporary fix for parse_node ([f2bb22d](ScrapeGraphAI@f2bb22d))
…scrape-urls-from-the-source

fix: parse node
## [1.19.0-beta.4](ScrapeGraphAI/Scrapegraph-ai@v1.19.0-beta.3...v1.19.0-beta.4) (2024-09-10)

### Features

* removed semchunk and used tikton ([1a7f21f](ScrapeGraphAI@1a7f21f))
…e_graph_config_in_the_documentation

problem
## [1.19.0-beta.6](ScrapeGraphAI/Scrapegraph-ai@v1.19.0-beta.5...v1.19.0-beta.6) (2024-09-12)

### Bug Fixes

* models tokens ([039fe3c](ScrapeGraphAI@039fe3c))

### Docs

* Updated the graph_config in the documentation. ([57a58e1](ScrapeGraphAI@57a58e1))

### CI

* **release:** 1.18.2 [skip ci] ([e1a9caa](ScrapeGraphAI@e1a9caa))
* **release:** 1.18.3 [skip ci] ([4bd4659](ScrapeGraphAI@4bd4659))
… called for every individual word which is very slow especially with the mistral tokenizer
…ation-for-ollama-and-mistral

651 add tokenization for ollama and mistral
## [1.19.0-beta.7](ScrapeGraphAI/Scrapegraph-ai@v1.19.0-beta.6...v1.19.0-beta.7) (2024-09-12)

### Bug Fixes

* pyproject.toml dependencies ([b805aea](ScrapeGraphAI@b805aea))
## [1.19.0-beta.8](ScrapeGraphAI/Scrapegraph-ai@v1.19.0-beta.7...v1.19.0-beta.8) (2024-09-12)

### Features

* refactoring of the tokenization function ([ec6b164](ScrapeGraphAI@ec6b164))
Changed instatiation location of iterated graph classes
@LorenzoPaleari
Copy link
Contributor Author

Will fix this merge commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants