Skip to content
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

fix: TypeError ‘Model provided by the configuration not supported’ #384

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

liaoliaojun
Copy link

@liaoliaojun liaoliaojun commented Jun 15, 2024

Related to #259

graph_config = {
    "llm": {xxxx},
    "embeddings": {
        "model": "ollama/nomic-embed-text",
        "base_url": "http://localhost:11435", 
    },
}

Single config using a loop to iterate through urls to scratch
index 0: embeddings.model = 'ollama/nomic-embed-text'
index 1: embeddings.model = 'nomic-embed-text' // error: ‘Model provided by the configuration not supported’

https://github.com/VinciGit00/Scrapegraph-ai/blob/main/scrapegraphai/graphs/abstract_graph.py#L344

@VinciGit00
Copy link
Collaborator

hi, it works, thank you for the help!

@VinciGit00 VinciGit00 changed the base branch from main to pre/beta June 16, 2024 11:34
@VinciGit00 VinciGit00 merged commit 3d34ea6 into ScrapeGraphAI:pre/beta Jun 16, 2024
2 checks passed
Copy link

🎉 This PR is included in version 1.7.0-beta.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants