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
|
### Prerequisite
|
||||||
|
|
||||||
- Install [Yarn v1](https://pnpm.io/installation)
|
- Install [PNPM](https://pnpm.io/installation)
|
||||||
```bash
|
```bash
|
||||||
npm i -g pnpm
|
npm i -g pnpm
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,6 @@ import { ICommonObject, INode, INodeData, INodeParams } from '../../../src/Inter
|
||||||
import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../src/utils'
|
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>
|
* @author Michael Connor <mlconnor@yahoo.com>
|
||||||
*/
|
*/
|
||||||
class AWSChatBedrock_ChatModels implements INode {
|
class AWSChatBedrock_ChatModels implements INode {
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,6 @@ import { getBaseClasses, getCredentialData, getCredentialParam } from '../../../
|
||||||
import { BaseBedrockInput } from '@langchain/community/dist/utils/bedrock'
|
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>
|
* @author Michael Connor <mlconnor@yahoo.com>
|
||||||
*/
|
*/
|
||||||
class AWSBedrock_LLMs implements INode {
|
class AWSBedrock_LLMs implements INode {
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ export class HuggingFaceInference extends LLM implements HFInput {
|
||||||
const { HfInference } = await import('@huggingface/inference')
|
const { HfInference } = await import('@huggingface/inference')
|
||||||
return { HfInference }
|
return { HfInference }
|
||||||
} catch (e) {
|
} 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