Skip to content

Is Grok supported? #979

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

Open
SkepticalTiger opened this issue May 24, 2025 · 9 comments
Open

Is Grok supported? #979

SkepticalTiger opened this issue May 24, 2025 · 9 comments
Labels
question Further information is requested

Comments

@SkepticalTiger
Copy link

I am importing grok-3-latest but it says the model is not supported. Am I just not importing it right?

graph_config = { "llm": { "api_key": "{api-key}", "model": "grok-3-latest", }, "verbose": True, "headless": False, }

@dosubot dosubot bot added the question Further information is requested label May 24, 2025
Copy link

dosubot bot commented May 24, 2025

The model grok-3-latest is not currently supported by the Scrapegraph-ai library. According to the documentation and code, the only Grok model listed as supported is Grok-1 (with a token limit of 8,192) and there is no mention of grok-3-latest as a valid option. The library also supports models from OpenAI, Gemini, Groq, and Azure, but not grok-3-latest reference reference.

If you want to use a Grok model, you should use Grok-1 in your configuration. For example:

graph_config = {
    "llm": {
        "api_key": "{api-key}",
        "model": "Grok-1",
    },
    "verbose": True,
    "headless": False,
}

If you specifically need grok-3-latest, it is not currently available in Scrapegraph-ai. There are no similar issues or discussions about this model in the repository. If support for this model is important for your use case, you may want to reach out to the maintainers for further clarification.

To continue talking to Dosu, mention @dosu-bot.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@SkepticalTiger
Copy link
Author

What is the complete list of llm models supported?

@SkepticalTiger
Copy link
Author

@dosu-bot please answer my last response

Copy link

dosubot bot commented May 24, 2025

Here is the complete list of LLM models currently supported by Scrapegraph-ai, organized by provider:

OpenAI Models

  • GPT-3.5 Turbo
  • GPT-3.5
  • GPT-3.5 Turbo Instruct
  • GPT-4 Turbo Preview
  • GPT-4 Vision Preview
  • GPT-4
  • GPT-4 32k
  • GPT-4o
  • O1 Preview
  • O1 Mini

Azure OpenAI Models

  • GPT-3.5 Turbo
  • GPT-3.5
  • GPT-4 Turbo Preview
  • GPT-4
  • GPT-4 32k
  • GPT-4o
  • O1 Preview
  • O1 Mini

Google AI Models

  • Gemini Pro
  • Gemini 1.5 Flash
  • Gemini 1.5 Pro
  • Gemini 1.0 Pro

Anthropic Models

  • Claude Instant
  • Claude 2
  • Claude 2.1
  • Claude 3
  • Claude 3.5
  • Claude 3 Opus
  • Claude 3 Sonnet
  • Claude 3 Haiku

Mistral AI Models

  • Mistral Large Latest
  • Open Mistral Nemo
  • Codestral Latest
  • Open Mistral 7B
  • Open Mixtral 8x7B
  • Open Mixtral 8x22B
  • Open Codestral Mamba

Ollama Models

  • Command-R
  • CodeLlama
  • DBRX
  • DeepSeek Coder 33B
  • Llama2 Series
  • Llama3 Series
  • Mistral Models
  • Mixtral 8x22B Instruct
  • Phi3 Series
  • Qwen Series

Hugging Face Models

  • Grok-1
  • Meta Llama 3 Series
  • Google Gemma Series
  • Microsoft Phi Series
  • GPT-2 Series
  • DeepSeek V2 Series

Bedrock Models

  • Claude 3 Series
  • Llama2 & Llama3 Series
  • Mistral Series
  • Titan Embed Text
  • Cohere Embed

Fireworks Models

  • Llama V2 7B
  • Mixtral 8x7B Instruct
  • Llama 3.1 Series
  • Mixtral MoE Series

You can find more details, including token limits for each model, in the official documentation and overview pages (source, source).

If you need to use a specific model, make sure to use the exact model name as listed above. For Grok, only Grok-1 is supported at this time.

To continue talking to Dosu, mention @dosu-bot.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@SkepticalTiger
Copy link
Author

Is there a way for the devs to add support for grok-2 and grok-3 models @dosu-bot

@VinciGit00
Copy link
Collaborator

Hi,

I will add

@VinciGit00
Copy link
Collaborator

could you please try with 1.52.0b1?

@quangvinh2080
Copy link

@VinciGit00 Tried with 1.52.0b1, but it didn’t work.

Traceback (most recent call last):
  File ".../scrapegraph-projects/main.py", line 1, in <module>
    from scrapegraphai.graphs import SmartScraperGraph
  File ".../Scrapegraph-ai/scrapegraphai/graphs/__init__.py", line 5, in <module>
    from .abstract_graph import AbstractGraph
  File ".../Scrapegraph-ai/scrapegraphai/graphs/abstract_graph.py", line 16, in <module>
    from ..models import CLoD, DeepSeek, OneApi, XAI
  File ".../Scrapegraph-ai/scrapegraphai/models/__init__.py", line 10, in <module>
    from .xai import XAI
  File ".../Scrapegraph-ai/scrapegraphai/models/xai.py", line 4, in <module>
    from langchain_groq import ChatGroq as LangchainChatGroq
ModuleNotFoundError: No module named 'langchain_groq'

@quangvinh2080
Copy link

Submitted a PR to fix the model issue, @VinciGit00.

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

No branches or pull requests

3 participants