mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-27 19:46:55 +00:00
docs: update chat model tabs (#30330)
This commit is contained in:
parent
4c68749e38
commit
54eab796ab
@ -99,7 +99,7 @@ export const CustomDropdown = ({ selectedOption, options, onSelect, modelType })
|
||||
* @param {ChatModelTabsProps} props - Component props.
|
||||
*/
|
||||
export default function ChatModelTabs(props) {
|
||||
const [selectedModel, setSelectedModel] = useState("groq");
|
||||
const [selectedModel, setSelectedModel] = useState("openai");
|
||||
const {
|
||||
overrideParams,
|
||||
customVarName,
|
||||
@ -108,13 +108,6 @@ export default function ChatModelTabs(props) {
|
||||
const llmVarName = customVarName ?? "model";
|
||||
|
||||
const tabItems = [
|
||||
{
|
||||
value: "groq",
|
||||
label: "Groq",
|
||||
model: "llama3-8b-8192",
|
||||
apiKeyName: "GROQ_API_KEY",
|
||||
packageName: "langchain[groq]",
|
||||
},
|
||||
{
|
||||
value: "openai",
|
||||
label: "OpenAI",
|
||||
@ -156,6 +149,13 @@ ${llmVarName} = AzureChatOpenAI(
|
||||
apiKeyText: "# Ensure your AWS credentials are configured",
|
||||
packageName: "langchain[aws]",
|
||||
},
|
||||
{
|
||||
value: "groq",
|
||||
label: "Groq",
|
||||
model: "llama3-8b-8192",
|
||||
apiKeyName: "GROQ_API_KEY",
|
||||
packageName: "langchain[groq]",
|
||||
},
|
||||
{
|
||||
value: "cohere",
|
||||
label: "Cohere",
|
||||
|
Loading…
Reference in New Issue
Block a user