Relative Content

Tag Archive for pythonweb-scrapingartificial-intelligence

Model not found Scrapegraph-ai

I’m trying to get scapegraph-ai working. I downloaded the repo from here https://github.com/ScrapeGraphAI/Scrapegraph-ai and followed the instructions in the readme. I downloaded Ollama from here https://ollama.com/ and downloaded the LLama3.1 model. When I launch Ollama from CMD everything seems to work correctly. I can use the model using the command ollama run llama3.1. However, I have problems in python. I’m trying to scrape using the scapegraph-ai library using the ollama models locally. I created a simple program in python that allows you to do scaping using scapegraph and taking as input from the prompt the URL and the prompt instructions: