Hi!
I am trying out the reranker model on node with typescript. Upon installing cohere-ai and building, I get
node_modules/cohere-ai/AwsClient.d.ts:1:26 - error TS2307: Cannot find module 'aws-utils' or its corresponding type declarations.
1 import { AwsProps } from 'aws-utils';
~~~~~~~~~~~
Found 1 error in node_modules/cohere-ai/AwsClient.d.ts:1
Upon changing import { AwsProps } from 'aws-utils'; to import { AwsProps } from './aws-utils'; the error resolves.
Hi! I am trying out the reranker model on node with typescript. Upon installing
cohere-ai
and building, I getUpon changing
import { AwsProps } from 'aws-utils';
toimport { AwsProps } from './aws-utils';
the error resolves.For reference this is my tsconfig