Skip to content

Commit 510b4ef

Browse files
authored
Merge pull request sieblyio#124 from JJ-Cro/llmstxt
chore(v2.0.7): add llms.txt, update tsconfig, bumpd dependencies
2 parents b289572 + f3c86c7 commit 510b4ef

6 files changed

Lines changed: 7700 additions & 27 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ bundleReport.html
2626
privaterepotracker
2727
restClientRegex.ts
2828
testfile.ts
29-
localtest.sh
29+
localtest.sh
30+
31+
repomix.sh

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ Create API credentials at okx
104104
- If the response looks successful (HTTP 200 and "code" in the response body === "0"), only the `data` property is directly (without the `code`, `data` & `msg` properties).
105105
- If the response looks like an error (HTTP error OR the "code" property in the response does not equal "0"), the full response is thrown (including `code` and `msg` properties). See the interface for [APIResponse<T>](./src/types/rest/shared.ts).
106106

107-
### Example
107+
### Example
108108

109109
```ts
110110
import { RestClient } from 'okx-api';
111111

112112
const client = new RestClient({
113-
apiKey: 'apiKeyHere',
113+
apiKey: 'apiKeyHere',
114114
apiSecret: 'apiSecretHere',
115115
apiPass: 'apiPassHere',
116116
});
@@ -225,6 +225,12 @@ Build a bundle using webpack:
225225

226226
The bundle can be found in `dist/`. Altough usage should be largely consistent, smaller differences will exist. Documentation is still TODO.
227227

228+
## Use with LLMs & AI
229+
230+
This SDK includes a bundled `llms.txt` file in the root of the repository. If you're developing with LLMs, use the included `llms.txt` with your LLM - it will significantly improve the LLMs understanding of how to correctly use this SDK.
231+
232+
This file contains AI optimised structure of all the functions in this package, and their parameters for easier use with any learning models or artificial intelligence.
233+
228234
---
229235

230236
<!-- template_contributions -->

0 commit comments

Comments
 (0)