mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-17 01:12:34 +00:00
21 lines
784 B
JavaScript
21 lines
784 B
JavaScript
import React from "react";
|
|
import Admonition from '@theme/Admonition';
|
|
|
|
export default function Compatibility({ packagesAndVersions }) {
|
|
return (
|
|
<Admonition type="caution" title="Compatibility" icon="📦">
|
|
<span style={{fontSize: "15px"}}>
|
|
The code in this guide requires{" "}
|
|
{packagesAndVersions.map(([pkg, version], i) => {
|
|
return (
|
|
<span key={`compatibility-map${pkg}>=${version}-${i}`}>
|
|
<code>{`${pkg}>=${version}`}</code>
|
|
{i < packagesAndVersions.length - 1 && ", "}
|
|
</span>
|
|
);
|
|
})}.
|
|
Please ensure you have the correct packages installed.
|
|
</span>
|
|
</Admonition>
|
|
);
|
|
} |