update pnpm wordings
This commit is contained in:
parent
474681e113
commit
c557d8d19c
|
|
@ -75,7 +75,7 @@ Flowise has 3 different modules in a single mono repository.
|
|||
|
||||
### Prerequisite
|
||||
|
||||
- Install [Yarn v1](https://pnpm.io/installation)
|
||||
- Install [PNPM](https://pnpm.io/installation)
|
||||
```bash
|
||||
npm i -g pnpm
|
||||
```
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@ import { ICommonObject, INode, INodeData, INodeParams } from '../../../src/Inter
|
|||
import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../src/utils'
|
||||
|
||||
/**
|
||||
* I had to run the following to build the component
|
||||
* and get the icon copied over to the dist directory
|
||||
* Flowise/packages/components > yarn build
|
||||
*
|
||||
* @author Michael Connor <mlconnor@yahoo.com>
|
||||
*/
|
||||
class AWSChatBedrock_ChatModels implements INode {
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@ import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../
|
|||
import { BaseBedrockInput } from '@langchain/community/dist/utils/bedrock'
|
||||
|
||||
/**
|
||||
* I had to run the following to build the component
|
||||
* and get the icon copied over to the dist directory
|
||||
* Flowise/packages/components > yarn build
|
||||
*
|
||||
* @author Michael Connor <mlconnor@yahoo.com>
|
||||
*/
|
||||
class AWSBedrock_LLMs implements INode {
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ export class HuggingFaceInference extends LLM implements HFInput {
|
|||
const { HfInference } = await import('@huggingface/inference')
|
||||
return { HfInference }
|
||||
} catch (e) {
|
||||
throw new Error('Please install huggingface as a dependency with, e.g. `yarn add @huggingface/inference`')
|
||||
throw new Error('Please install huggingface as a dependency with, e.g. `pnpm add @huggingface/inference`')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue