fmp-ai-tools 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# FMP Tools
|
|
1
|
+
# FMP AI Tools
|
|
2
2
|
|
|
3
3
|
AI tools for Financial Modeling Prep (FMP) Node API - compatible with Vercel AI SDK, Langchain, OpenAI, and more.
|
|
4
4
|
|
|
@@ -7,11 +7,11 @@ This package provides pre-built AI tools that can be used with various AI framew
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install fmp-tools
|
|
10
|
+
npm install fmp-ai-tools
|
|
11
11
|
# or
|
|
12
|
-
pnpm add fmp-tools
|
|
12
|
+
pnpm add fmp-ai-tools
|
|
13
13
|
# or
|
|
14
|
-
yarn add fmp-tools
|
|
14
|
+
yarn add fmp-ai-tools
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Quick Start
|
|
@@ -21,7 +21,7 @@ yarn add fmp-tools
|
|
|
21
21
|
```typescript
|
|
22
22
|
import { openai } from '@ai-sdk/openai';
|
|
23
23
|
import { streamText, convertToModelMessages, stepCountIs } from 'ai';
|
|
24
|
-
import { fmpTools } from 'fmp-tools/vercel-ai';
|
|
24
|
+
import { fmpTools } from 'fmp-ai-tools/vercel-ai';
|
|
25
25
|
|
|
26
26
|
export async function POST(req: Request) {
|
|
27
27
|
const { messages } = await req.json();
|
|
@@ -117,7 +117,7 @@ You can import and use specific tool categories or individual tools:
|
|
|
117
117
|
### Import Specific Categories
|
|
118
118
|
|
|
119
119
|
```typescript
|
|
120
|
-
import { quoteTools, financialTools, marketTools } from 'fmp-tools/vercel-ai';
|
|
120
|
+
import { quoteTools, financialTools, marketTools } from 'fmp-ai-tools/vercel-ai';
|
|
121
121
|
|
|
122
122
|
// Use only quote and financial tools
|
|
123
123
|
const selectedTools = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fmp-ai-tools",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "AI tools for FMP Node API - compatible with Vercel AI SDK, Langchain, OpenAI, and more",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"ai": "^5.0.5",
|
|
45
45
|
"zod": "^3.25.76",
|
|
46
|
-
"@fmp/types": "0.1.0",
|
|
47
46
|
"fmp-node-api": "0.1.2"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|