mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-09 08:45:33 +02:00
Merge pull request #7 from icwhite/add-ollama-evaluation
Add ollama evaluation
This commit is contained in:
commit
dd5dd72381
1 changed files with 6 additions and 0 deletions
|
@ -459,6 +459,12 @@ def make_profiles(agent_names, models, apis, template_profile="profiles/collab_p
|
||||||
"model": models[index],
|
"model": models[index],
|
||||||
"url": url
|
"url": url
|
||||||
}
|
}
|
||||||
|
elif apis[index] == "ollama":
|
||||||
|
profile["model"] = {
|
||||||
|
"api": "ollama",
|
||||||
|
"model": models[index],
|
||||||
|
"embedding": "ollama"
|
||||||
|
}
|
||||||
else:
|
else:
|
||||||
profile["model"] = models[index]
|
profile["model"] = models[index]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue