Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Add `command-r-plus` to docstrings

Connor Shorten0c586e111fc5
diff --git a/dsp/modules/cohere.py b/dsp/modules/cohere.py
index 96c52ef7b..b24390e55 100644
--- a/dsp/modules/cohere.py
+++ b/dsp/modules/cohere.py
@@ -30,7 +30,7 @@ def giveup_hdlr(details):
class Cohere(LM):
"""Wrapper around Cohere's API.
- Currently supported models include `command`, `command-nightly`, `command-light`, `command-light-nightly`.
+ Currently supported models include `command-r-plus`, `command-r`, `command`, `command-nightly`, `command-light`, `command-light-nightly`.
"""
def __init__(
@@ -45,7 +45,7 @@ class Cohere(LM):
----------
model : str
Which pre-trained model from Cohere to use?
- Choices are [`command-r`, `command`, `command-nightly`, `command-light`, `command-light-nightly`]
+ Choices are [`command-r-plus`, `command-r`, `command`, `command-nightly`, `command-light`, `command-light-nightly`]
api_key : str
The API key for Cohere.
It can be obtained from https://dashboard.cohere.ai/register.