mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-04 21:00:36 +08:00
feat: add mistral support
This commit is contained in:
parent
9868555123
commit
17f2707313
@ -188,6 +188,10 @@ class AbstractGraph(ABC):
|
|||||||
|
|
||||||
if "claude-3-" in llm_params["model"]:
|
if "claude-3-" in llm_params["model"]:
|
||||||
return handle_model(llm_params["model"], "anthropic", "claude3")
|
return handle_model(llm_params["model"], "anthropic", "claude3")
|
||||||
|
|
||||||
|
if llm_params["model"].startswith("mistral"):
|
||||||
|
model_name = llm_params["model"].split("/")[-1]
|
||||||
|
return handle_model(model_name, "mistral", model_name)
|
||||||
|
|
||||||
# Instantiate the language model based on the model name (models that do not use the common interface)
|
# Instantiate the language model based on the model name (models that do not use the common interface)
|
||||||
if "deepseek" in llm_params["model"]:
|
if "deepseek" in llm_params["model"]:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user