@ax-llm/ax 9.0.19 → 9.0.20
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/package.json +33 -85
- package/CHANGELOG.md +0 -184
- package/LICENSE +0 -201
- package/README.md +0 -569
- package/build/module/docs/assets/icons.d.ts +0 -1
- package/build/module/docs/assets/icons.js +0 -19
- package/build/module/docs/assets/icons.js.map +0 -1
- package/build/module/docs/assets/main.d.ts +0 -1
- package/build/module/docs/assets/main.js +0 -629
- package/build/module/docs/assets/main.js.map +0 -1
- package/build/module/docs/assets/navigation.d.ts +0 -1
- package/build/module/docs/assets/navigation.js +0 -3
- package/build/module/docs/assets/navigation.js.map +0 -1
- package/build/module/docs/assets/search.d.ts +0 -1
- package/build/module/docs/assets/search.js +0 -3
- package/build/module/docs/assets/search.js.map +0 -1
- package/build/module/src/ai/anthropic/api.d.ts +0 -19
- package/build/module/src/ai/anthropic/api.js +0 -326
- package/build/module/src/ai/anthropic/api.js.map +0 -1
- package/build/module/src/ai/anthropic/index.d.ts +0 -2
- package/build/module/src/ai/anthropic/index.js +0 -3
- package/build/module/src/ai/anthropic/index.js.map +0 -1
- package/build/module/src/ai/anthropic/info.d.ts +0 -2
- package/build/module/src/ai/anthropic/info.js +0 -40
- package/build/module/src/ai/anthropic/info.js.map +0 -1
- package/build/module/src/ai/anthropic/types.d.ts +0 -171
- package/build/module/src/ai/anthropic/types.js +0 -10
- package/build/module/src/ai/anthropic/types.js.map +0 -1
- package/build/module/src/ai/azure-openai/api.d.ts +0 -19
- package/build/module/src/ai/azure-openai/api.js +0 -30
- package/build/module/src/ai/azure-openai/api.js.map +0 -1
- package/build/module/src/ai/azure-openai/index.d.ts +0 -1
- package/build/module/src/ai/azure-openai/index.js +0 -2
- package/build/module/src/ai/azure-openai/index.js.map +0 -1
- package/build/module/src/ai/balance.d.ts +0 -23
- package/build/module/src/ai/balance.js +0 -87
- package/build/module/src/ai/balance.js.map +0 -1
- package/build/module/src/ai/base.d.ts +0 -55
- package/build/module/src/ai/base.js +0 -343
- package/build/module/src/ai/base.js.map +0 -1
- package/build/module/src/ai/cohere/api.d.ts +0 -22
- package/build/module/src/ai/cohere/api.js +0 -264
- package/build/module/src/ai/cohere/api.js.map +0 -1
- package/build/module/src/ai/cohere/index.d.ts +0 -2
- package/build/module/src/ai/cohere/index.js +0 -3
- package/build/module/src/ai/cohere/index.js.map +0 -1
- package/build/module/src/ai/cohere/info.d.ts +0 -2
- package/build/module/src/ai/cohere/info.js +0 -52
- package/build/module/src/ai/cohere/info.js.map +0 -1
- package/build/module/src/ai/cohere/types.d.ts +0 -102
- package/build/module/src/ai/cohere/types.js +0 -23
- package/build/module/src/ai/cohere/types.js.map +0 -1
- package/build/module/src/ai/deepseek/api.d.ts +0 -16
- package/build/module/src/ai/deepseek/api.js +0 -32
- package/build/module/src/ai/deepseek/api.js.map +0 -1
- package/build/module/src/ai/deepseek/index.d.ts +0 -2
- package/build/module/src/ai/deepseek/index.js +0 -3
- package/build/module/src/ai/deepseek/index.js.map +0 -1
- package/build/module/src/ai/deepseek/info.d.ts +0 -2
- package/build/module/src/ai/deepseek/info.js +0 -16
- package/build/module/src/ai/deepseek/info.js.map +0 -1
- package/build/module/src/ai/deepseek/types.d.ts +0 -8
- package/build/module/src/ai/deepseek/types.js +0 -10
- package/build/module/src/ai/deepseek/types.js.map +0 -1
- package/build/module/src/ai/google-gemini/api.d.ts +0 -36
- package/build/module/src/ai/google-gemini/api.js +0 -299
- package/build/module/src/ai/google-gemini/api.js.map +0 -1
- package/build/module/src/ai/google-gemini/index.d.ts +0 -2
- package/build/module/src/ai/google-gemini/index.js +0 -3
- package/build/module/src/ai/google-gemini/index.js.map +0 -1
- package/build/module/src/ai/google-gemini/info.d.ts +0 -6
- package/build/module/src/ai/google-gemini/info.js +0 -29
- package/build/module/src/ai/google-gemini/info.js.map +0 -1
- package/build/module/src/ai/google-gemini/types.d.ts +0 -146
- package/build/module/src/ai/google-gemini/types.js +0 -27
- package/build/module/src/ai/google-gemini/types.js.map +0 -1
- package/build/module/src/ai/groq/api.d.ts +0 -18
- package/build/module/src/ai/groq/api.js +0 -52
- package/build/module/src/ai/groq/api.js.map +0 -1
- package/build/module/src/ai/groq/index.d.ts +0 -1
- package/build/module/src/ai/groq/index.js +0 -2
- package/build/module/src/ai/groq/index.js.map +0 -1
- package/build/module/src/ai/groq/types.d.ts +0 -6
- package/build/module/src/ai/groq/types.js +0 -8
- package/build/module/src/ai/groq/types.js.map +0 -1
- package/build/module/src/ai/huggingface/api.d.ts +0 -19
- package/build/module/src/ai/huggingface/api.js +0 -115
- package/build/module/src/ai/huggingface/api.js.map +0 -1
- package/build/module/src/ai/huggingface/index.d.ts +0 -2
- package/build/module/src/ai/huggingface/index.js +0 -3
- package/build/module/src/ai/huggingface/index.js.map +0 -1
- package/build/module/src/ai/huggingface/info.d.ts +0 -6
- package/build/module/src/ai/huggingface/info.js +0 -6
- package/build/module/src/ai/huggingface/info.js.map +0 -1
- package/build/module/src/ai/huggingface/types.d.ts +0 -34
- package/build/module/src/ai/huggingface/types.js +0 -5
- package/build/module/src/ai/huggingface/types.js.map +0 -1
- package/build/module/src/ai/index.d.ts +0 -16
- package/build/module/src/ai/index.js +0 -16
- package/build/module/src/ai/index.js.map +0 -1
- package/build/module/src/ai/mistral/api.d.ts +0 -16
- package/build/module/src/ai/mistral/api.js +0 -32
- package/build/module/src/ai/mistral/api.js.map +0 -1
- package/build/module/src/ai/mistral/index.d.ts +0 -2
- package/build/module/src/ai/mistral/index.js +0 -3
- package/build/module/src/ai/mistral/index.js.map +0 -1
- package/build/module/src/ai/mistral/info.d.ts +0 -2
- package/build/module/src/ai/mistral/info.js +0 -34
- package/build/module/src/ai/mistral/info.js.map +0 -1
- package/build/module/src/ai/mistral/types.d.ts +0 -10
- package/build/module/src/ai/mistral/types.js +0 -13
- package/build/module/src/ai/mistral/types.js.map +0 -1
- package/build/module/src/ai/ollama/api.d.ts +0 -22
- package/build/module/src/ai/ollama/api.js +0 -32
- package/build/module/src/ai/ollama/api.js.map +0 -1
- package/build/module/src/ai/ollama/index.d.ts +0 -1
- package/build/module/src/ai/ollama/index.js +0 -2
- package/build/module/src/ai/ollama/index.js.map +0 -1
- package/build/module/src/ai/openai/api.d.ts +0 -29
- package/build/module/src/ai/openai/api.js +0 -283
- package/build/module/src/ai/openai/api.js.map +0 -1
- package/build/module/src/ai/openai/index.d.ts +0 -2
- package/build/module/src/ai/openai/index.js +0 -3
- package/build/module/src/ai/openai/index.js.map +0 -1
- package/build/module/src/ai/openai/info.d.ts +0 -6
- package/build/module/src/ai/openai/info.js +0 -50
- package/build/module/src/ai/openai/info.js.map +0 -1
- package/build/module/src/ai/openai/types.d.ts +0 -165
- package/build/module/src/ai/openai/types.js +0 -18
- package/build/module/src/ai/openai/types.js.map +0 -1
- package/build/module/src/ai/together/api.d.ts +0 -15
- package/build/module/src/ai/together/api.js +0 -28
- package/build/module/src/ai/together/api.js.map +0 -1
- package/build/module/src/ai/together/index.d.ts +0 -1
- package/build/module/src/ai/together/index.js +0 -2
- package/build/module/src/ai/together/index.js.map +0 -1
- package/build/module/src/ai/together/info.d.ts +0 -2
- package/build/module/src/ai/together/info.js +0 -2
- package/build/module/src/ai/together/info.js.map +0 -1
- package/build/module/src/ai/types.d.ts +0 -159
- package/build/module/src/ai/types.js +0 -2
- package/build/module/src/ai/types.js.map +0 -1
- package/build/module/src/ai/util.d.ts +0 -12
- package/build/module/src/ai/util.js +0 -63
- package/build/module/src/ai/util.js.map +0 -1
- package/build/module/src/ai/wrap.d.ts +0 -47
- package/build/module/src/ai/wrap.js +0 -95
- package/build/module/src/ai/wrap.js.map +0 -1
- package/build/module/src/db/base.d.ts +0 -23
- package/build/module/src/db/base.js +0 -87
- package/build/module/src/db/base.js.map +0 -1
- package/build/module/src/db/cloudflare.d.ts +0 -21
- package/build/module/src/db/cloudflare.js +0 -98
- package/build/module/src/db/cloudflare.js.map +0 -1
- package/build/module/src/db/index.d.ts +0 -6
- package/build/module/src/db/index.js +0 -7
- package/build/module/src/db/index.js.map +0 -1
- package/build/module/src/db/memory.d.ts +0 -21
- package/build/module/src/db/memory.js +0 -99
- package/build/module/src/db/memory.js.map +0 -1
- package/build/module/src/db/pinecone.d.ts +0 -21
- package/build/module/src/db/pinecone.js +0 -71
- package/build/module/src/db/pinecone.js.map +0 -1
- package/build/module/src/db/types.d.ts +0 -35
- package/build/module/src/db/types.js +0 -3
- package/build/module/src/db/types.js.map +0 -1
- package/build/module/src/db/weaviate.d.ts +0 -21
- package/build/module/src/db/weaviate.js +0 -127
- package/build/module/src/db/weaviate.js.map +0 -1
- package/build/module/src/db/wrap.d.ts +0 -13
- package/build/module/src/db/wrap.js +0 -35
- package/build/module/src/db/wrap.js.map +0 -1
- package/build/module/src/docs/index.d.ts +0 -4
- package/build/module/src/docs/index.js +0 -5
- package/build/module/src/docs/index.js.map +0 -1
- package/build/module/src/docs/manager.d.ts +0 -45
- package/build/module/src/docs/manager.js +0 -159
- package/build/module/src/docs/manager.js.map +0 -1
- package/build/module/src/docs/reranker.d.ts +0 -7
- package/build/module/src/docs/reranker.js +0 -26
- package/build/module/src/docs/reranker.js.map +0 -1
- package/build/module/src/docs/rewriter.d.ts +0 -4
- package/build/module/src/docs/rewriter.js +0 -9
- package/build/module/src/docs/rewriter.js.map +0 -1
- package/build/module/src/docs/tika.d.ts +0 -18
- package/build/module/src/docs/tika.js +0 -46
- package/build/module/src/docs/tika.js.map +0 -1
- package/build/module/src/dsp/asserts.d.ts +0 -32
- package/build/module/src/dsp/asserts.js +0 -91
- package/build/module/src/dsp/asserts.js.map +0 -1
- package/build/module/src/dsp/eval.d.ts +0 -43
- package/build/module/src/dsp/eval.js +0 -125
- package/build/module/src/dsp/eval.js.map +0 -1
- package/build/module/src/dsp/evaluate.d.ts +0 -12
- package/build/module/src/dsp/evaluate.js +0 -32
- package/build/module/src/dsp/evaluate.js.map +0 -1
- package/build/module/src/dsp/extract.d.ts +0 -25
- package/build/module/src/dsp/extract.js +0 -153
- package/build/module/src/dsp/extract.js.map +0 -1
- package/build/module/src/dsp/generate.d.ts +0 -55
- package/build/module/src/dsp/generate.js +0 -314
- package/build/module/src/dsp/generate.js.map +0 -1
- package/build/module/src/dsp/generate.test.d.ts +0 -1
- package/build/module/src/dsp/generate.test.js +0 -41
- package/build/module/src/dsp/generate.test.js.map +0 -1
- package/build/module/src/dsp/index.d.ts +0 -15
- package/build/module/src/dsp/index.js +0 -11
- package/build/module/src/dsp/index.js.map +0 -1
- package/build/module/src/dsp/loader.d.ts +0 -30
- package/build/module/src/dsp/loader.js +0 -81
- package/build/module/src/dsp/loader.js.map +0 -1
- package/build/module/src/dsp/optimize.d.ts +0 -27
- package/build/module/src/dsp/optimize.js +0 -95
- package/build/module/src/dsp/optimize.js.map +0 -1
- package/build/module/src/dsp/parser.d.ts +0 -87
- package/build/module/src/dsp/parser.js +0 -1542
- package/build/module/src/dsp/parser.js.map +0 -1
- package/build/module/src/dsp/program.d.ts +0 -73
- package/build/module/src/dsp/program.js +0 -116
- package/build/module/src/dsp/program.js.map +0 -1
- package/build/module/src/dsp/prompt.d.ts +0 -48
- package/build/module/src/dsp/prompt.js +0 -260
- package/build/module/src/dsp/prompt.js.map +0 -1
- package/build/module/src/dsp/registry.d.ts +0 -6
- package/build/module/src/dsp/registry.js +0 -15
- package/build/module/src/dsp/registry.js.map +0 -1
- package/build/module/src/dsp/router.d.ts +0 -26
- package/build/module/src/dsp/router.js +0 -71
- package/build/module/src/dsp/router.js.map +0 -1
- package/build/module/src/dsp/sig.d.ts +0 -37
- package/build/module/src/dsp/sig.js +0 -194
- package/build/module/src/dsp/sig.js.map +0 -1
- package/build/module/src/dsp/sig.test.d.ts +0 -1
- package/build/module/src/dsp/sig.test.js +0 -28
- package/build/module/src/dsp/sig.test.js.map +0 -1
- package/build/module/src/dsp/stopwords.d.ts +0 -1
- package/build/module/src/dsp/stopwords.js +0 -1164
- package/build/module/src/dsp/stopwords.js.map +0 -1
- package/build/module/src/dsp/strutil.d.ts +0 -11
- package/build/module/src/dsp/strutil.js +0 -60
- package/build/module/src/dsp/strutil.js.map +0 -1
- package/build/module/src/dsp/util.d.ts +0 -5
- package/build/module/src/dsp/util.js +0 -76
- package/build/module/src/dsp/util.js.map +0 -1
- package/build/module/src/funcs/code.d.ts +0 -9
- package/build/module/src/funcs/code.js +0 -63
- package/build/module/src/funcs/code.js.map +0 -1
- package/build/module/src/funcs/embed.d.ts +0 -6
- package/build/module/src/funcs/embed.js +0 -29
- package/build/module/src/funcs/embed.js.map +0 -1
- package/build/module/src/funcs/functions.d.ts +0 -16
- package/build/module/src/funcs/functions.js +0 -55
- package/build/module/src/funcs/functions.js.map +0 -1
- package/build/module/src/funcs/index.d.ts +0 -3
- package/build/module/src/funcs/index.js +0 -4
- package/build/module/src/funcs/index.js.map +0 -1
- package/build/module/src/funcs/jsonschema.d.ts +0 -2
- package/build/module/src/funcs/jsonschema.js +0 -97
- package/build/module/src/funcs/jsonschema.js.map +0 -1
- package/build/module/src/index.d.ts +0 -9
- package/build/module/src/index.js.map +0 -1
- package/build/module/src/mem/index.d.ts +0 -2
- package/build/module/src/mem/index.js +0 -3
- package/build/module/src/mem/index.js.map +0 -1
- package/build/module/src/mem/memory.d.ts +0 -16
- package/build/module/src/mem/memory.js +0 -77
- package/build/module/src/mem/memory.js.map +0 -1
- package/build/module/src/mem/types.d.ts +0 -10
- package/build/module/src/mem/types.js +0 -2
- package/build/module/src/mem/types.js.map +0 -1
- package/build/module/src/prompts/agent.d.ts +0 -34
- package/build/module/src/prompts/agent.js +0 -108
- package/build/module/src/prompts/agent.js.map +0 -1
- package/build/module/src/prompts/cot.d.ts +0 -9
- package/build/module/src/prompts/cot.js +0 -17
- package/build/module/src/prompts/cot.js.map +0 -1
- package/build/module/src/prompts/index.d.ts +0 -4
- package/build/module/src/prompts/index.js +0 -5
- package/build/module/src/prompts/index.js.map +0 -1
- package/build/module/src/prompts/prompts.test.d.ts +0 -1
- package/build/module/src/prompts/prompts.test.js +0 -54
- package/build/module/src/prompts/prompts.test.js.map +0 -1
- package/build/module/src/prompts/rag.d.ts +0 -23
- package/build/module/src/prompts/rag.js +0 -30
- package/build/module/src/prompts/rag.js.map +0 -1
- package/build/module/src/prompts/react.d.ts +0 -8
- package/build/module/src/prompts/react.js +0 -22
- package/build/module/src/prompts/react.js.map +0 -1
- package/build/module/src/trace/index.d.ts +0 -171
- package/build/module/src/trace/index.js +0 -67
- package/build/module/src/trace/index.js.map +0 -1
- package/build/module/src/util/apicall.d.ts +0 -18
- package/build/module/src/util/apicall.js +0 -50
- package/build/module/src/util/apicall.js.map +0 -1
- package/build/module/src/util/log.d.ts +0 -14
- package/build/module/src/util/log.js +0 -31
- package/build/module/src/util/log.js.map +0 -1
- package/build/module/src/util/other.d.ts +0 -1
- package/build/module/src/util/other.js +0 -5
- package/build/module/src/util/other.js.map +0 -1
- package/build/module/src/util/rate-limit.d.ts +0 -24
- package/build/module/src/util/rate-limit.js +0 -49
- package/build/module/src/util/rate-limit.js.map +0 -1
- package/build/module/src/util/stream.d.ts +0 -9
- package/build/module/src/util/stream.js +0 -29
- package/build/module/src/util/stream.js.map +0 -1
- package/build/module/src/util/transform.d.ts +0 -7
- package/build/module/src/util/transform.js +0 -59
- package/build/module/src/util/transform.js.map +0 -1
- /package/{build/module/src/index.js → index.js} +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ax-llm/ax",
|
|
3
|
-
"version": "9.0.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "9.0.20",
|
|
5
4
|
"description": "The best library to work with LLMs",
|
|
6
|
-
"typings": "./build/module/src/index.d.ts",
|
|
7
|
-
"main": "./build/module/src/index.js",
|
|
8
|
-
"module": "./build/module/src/index.js",
|
|
9
|
-
"exports": "./build/module/src/index.js",
|
|
10
5
|
"repository": {
|
|
11
6
|
"type": "git",
|
|
12
7
|
"url": "https://github.com/ax-llm/ax.git"
|
|
@@ -14,100 +9,53 @@
|
|
|
14
9
|
"publishConfig": {
|
|
15
10
|
"access": "public"
|
|
16
11
|
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./index.js",
|
|
15
|
+
"require": "./cjs/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./*.js": {
|
|
18
|
+
"import": "./*.js",
|
|
19
|
+
"require": "./cjs/*.js"
|
|
20
|
+
},
|
|
21
|
+
"./*": {
|
|
22
|
+
"import": "./*.js",
|
|
23
|
+
"require": "./cjs/*.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
17
26
|
"license": "Apache-2.0",
|
|
18
27
|
"keywords": [],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"build": "run-s build:*",
|
|
21
|
-
"build:parser": "npx peggy --plugin ts-pegjs --extra-options-file src/dsp/parser.json --cache --output src/dsp/parser.ts src/dsp/parser.peggy",
|
|
22
|
-
"build:module": "tsc -p tsconfig.build.json",
|
|
23
|
-
"fix": "run-s fix:*",
|
|
24
|
-
"fix:prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
25
|
-
"fix:lint": "eslint src --ext .ts --fix",
|
|
26
|
-
"test": "run-s build test:*",
|
|
27
|
-
"test:lint": "eslint src --ext .ts",
|
|
28
|
-
"test:prettier": "prettier \"src/**/*.ts\" --config .prettierrc --check",
|
|
29
|
-
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
|
30
|
-
"test:unit": "ava --timeout=60s --verbose",
|
|
31
|
-
"watch:build": "tsc -p tsconfig.build.json -w",
|
|
32
|
-
"watch:test": "ava --ext ts --watch",
|
|
33
|
-
"cov": "run-s build test:unit cov:html cov:lcov && open coverage/index.html",
|
|
34
|
-
"doc": "run-s doc:html && open docs/index.html",
|
|
35
|
-
"doc:html": "typedoc src/ --tsconfig tsconfig.build.json",
|
|
36
|
-
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d docs",
|
|
37
|
-
"version": "standard-version",
|
|
38
|
-
"prepare": "run-s test",
|
|
39
|
-
"release": "release-it --no-npm",
|
|
40
|
-
"git-cz": "npx git-cz",
|
|
41
|
-
"tsx": "node --env-file=.env --import=tsx"
|
|
42
|
-
},
|
|
43
|
-
"engines": {
|
|
44
|
-
"node": ">=21"
|
|
45
|
-
},
|
|
46
28
|
"dependencies": {
|
|
47
29
|
"json5": "^2.2.3"
|
|
48
30
|
},
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
63
|
-
"eslint": "^8.57.0",
|
|
64
|
-
"eslint-config-prettier": "^9.1.0",
|
|
65
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
66
|
-
"eslint-plugin-functional": "^6.1.1",
|
|
67
|
-
"eslint-plugin-import": "^2.29.1",
|
|
68
|
-
"eslint-plugin-require-extensions": "^0.1.3",
|
|
69
|
-
"gh-pages": "^6.1.1",
|
|
70
|
-
"npm-run-all": "^4.1.5",
|
|
71
|
-
"prettier": "^3.2.5",
|
|
72
|
-
"release-it": "^17.4.0",
|
|
73
|
-
"standard-version": "^9.5.0",
|
|
74
|
-
"ts-pegjs": "^4.2.1",
|
|
75
|
-
"tsx": "^4.7.1",
|
|
76
|
-
"typedoc": "^0.26.0-beta.5",
|
|
77
|
-
"typescript": "^5.5.2"
|
|
31
|
+
"ava": {
|
|
32
|
+
"failFast": true,
|
|
33
|
+
"timeout": "180s",
|
|
34
|
+
"concurrency": 1,
|
|
35
|
+
"extensions": {
|
|
36
|
+
"ts": "module"
|
|
37
|
+
},
|
|
38
|
+
"nodeArguments": [
|
|
39
|
+
"--import=tsimp"
|
|
40
|
+
],
|
|
41
|
+
"files": [
|
|
42
|
+
"!build/**/*"
|
|
43
|
+
]
|
|
78
44
|
},
|
|
79
45
|
"files": [
|
|
80
|
-
"build
|
|
46
|
+
"build",
|
|
81
47
|
"!**/*.spec.*",
|
|
82
48
|
"!**/*.json",
|
|
83
49
|
"CHANGELOG.md",
|
|
84
50
|
"LICENSE",
|
|
85
51
|
"README.md"
|
|
86
52
|
],
|
|
87
|
-
"ava": {
|
|
88
|
-
"failFast": true,
|
|
89
|
-
"timeout": "60s",
|
|
90
|
-
"typescript": {
|
|
91
|
-
"rewritePaths": {
|
|
92
|
-
"src/": "build/module/src/"
|
|
93
|
-
},
|
|
94
|
-
"compile": false
|
|
95
|
-
},
|
|
96
|
-
"files": [
|
|
97
|
-
"!build/modules/src/**"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
"config": {
|
|
101
|
-
"commitizen": {
|
|
102
|
-
"path": "cz-conventional-changelog"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
53
|
"bugs": {
|
|
106
54
|
"url": "https://github.com/@ax-llm/ax/issues"
|
|
107
55
|
},
|
|
108
56
|
"homepage": "https://github.com/@ax-llm/ax#readme",
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
57
|
+
"author": "Vikram <https://twitter.com/dosco>",
|
|
58
|
+
"main": "index.js",
|
|
59
|
+
"module": "cjs/index.js",
|
|
60
|
+
"types": "index.d.ts"
|
|
113
61
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
## 9.1.0 (2024-06-21)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* add anthropic claude llms ([1e09f67](https://github.com/ax-llm/ax/commit/1e09f6720f34aa8025a37410df45c0cdedcfec49))
|
|
11
|
-
* add api rate-limiter support ([e4a8863](https://github.com/ax-llm/ax/commit/e4a8863e8fbbe3b7123737493bbb5c786eb51d96))
|
|
12
|
-
* add azure openai ([4478ed1](https://github.com/ax-llm/ax/commit/4478ed12c23abba3e935e84d37550a401f4562fb))
|
|
13
|
-
* add built-in function for embeddings ([37dfa99](https://github.com/ax-llm/ax/commit/37dfa99cb67eb36fabce79273727a3f201a3aa0b))
|
|
14
|
-
* add busines information extraction prompt ([cb2dca5](https://github.com/ax-llm/ax/commit/cb2dca5b34ffda2c0d03b45ac4c2c9d240615cc1))
|
|
15
|
-
* add caching proxy ([ba57bf9](https://github.com/ax-llm/ax/commit/ba57bf9417a74b719daa795afcd501235da1d3af))
|
|
16
|
-
* add caching proxy ([335dcbd](https://github.com/ax-llm/ax/commit/335dcbdbc4311784d095cc6be66b57d2a0d5909c))
|
|
17
|
-
* add google gemini safety controls ([7783bbe](https://github.com/ax-llm/ax/commit/7783bbee545d13a7b9f8a899d64ec2e59d1c931f))
|
|
18
|
-
* add google palm models ([cf6bf11](https://github.com/ax-llm/ax/commit/cf6bf11e30dee95d0799e6d19baa573a2a9765b9))
|
|
19
|
-
* add gpt-4 support ([405b87e](https://github.com/ax-llm/ax/commit/405b87e60fbb5942646e013c3a56fbc13d120c24))
|
|
20
|
-
* add ollama ([c1181e0](https://github.com/ax-llm/ax/commit/c1181e02e775f218a928dfdd0013d306c8e19106))
|
|
21
|
-
* add semantic router ([2096158](https://github.com/ax-llm/ax/commit/209615831a9f814bc10071280857d2b4f51c2a3a))
|
|
22
|
-
* add streaming support for gemini and cohere ([a946d52](https://github.com/ax-llm/ax/commit/a946d521f01267208ca863b0fd52b1f1d91d6929))
|
|
23
|
-
* add streaming support to proxy ([5edd33c](https://github.com/ax-llm/ax/commit/5edd33c1905a00a6fb1f05f395090e569ea954e5))
|
|
24
|
-
* add support for embeddings to use with vector search ([4bd4ba4](https://github.com/ax-llm/ax/commit/4bd4ba4cb9d3edd1dabea3ec8b3c3201b06b18da))
|
|
25
|
-
* add support for json type and other fixes ([3249746](https://github.com/ax-llm/ax/commit/32497461524b6138bf0c6142f71fe1d5b96386a2))
|
|
26
|
-
* add together compute llm api support ([37fc9cf](https://github.com/ax-llm/ax/commit/37fc9cf27e0b75e0068e7b58956b784ead6934cf))
|
|
27
|
-
* add vector db and embeddings example ([141ad9f](https://github.com/ax-llm/ax/commit/141ad9f1dd4d4f19c8ef07b362c57cb628f42e37))
|
|
28
|
-
* added a new llm alephalpha ([bff5f51](https://github.com/ax-llm/ax/commit/bff5f51812bcf22a8f6c89e58c98866208f14e1a))
|
|
29
|
-
* added agent tracing ([4bc9ae7](https://github.com/ax-llm/ax/commit/4bc9ae7ca5e02f194a23ed73b3aa8dcbbda43e4a))
|
|
30
|
-
* added claude3, gemini and fixed openai azure ([1c902d1](https://github.com/ax-llm/ax/commit/1c902d102fc8bce226c7c29bdafdb6e98b4ce170))
|
|
31
|
-
* added dsp ([fc9c292](https://github.com/ax-llm/ax/commit/fc9c292838fd7cdbb9e36633d7ad847206349c64))
|
|
32
|
-
* added in memory vector db with serialize to disk ([5036933](https://github.com/ax-llm/ax/commit/50369334388332ee9414b80b92835ab3915e786e))
|
|
33
|
-
* added mistral support ([67747a0](https://github.com/ax-llm/ax/commit/67747a0dd0840e429fda5c9c98f36fce125133e5))
|
|
34
|
-
* added more tests ([fe33451](https://github.com/ax-llm/ax/commit/fe33451711c9870144cafa8e242fa05fc3152f09))
|
|
35
|
-
* added multi-modal support to anthropic api and other fixes ([95a0680](https://github.com/ax-llm/ax/commit/95a0680ec61d8d9803c6cea0b2732abebf046461))
|
|
36
|
-
* added openai chat-gpt api support ([eb4b151](https://github.com/ax-llm/ax/commit/eb4b151c160bb33560c2072240e4770572b4f0ff))
|
|
37
|
-
* added prefix Ax across type namespace ([3a9daf0](https://github.com/ax-llm/ax/commit/3a9daf0e45de834fc7b8719c2908f1b90800e0e2))
|
|
38
|
-
* added proxy bin ([65adabe](https://github.com/ax-llm/ax/commit/65adabe6de137a886a3055d6f9ea32f2304635e1))
|
|
39
|
-
* added the dsp style bootstrap few stop optimizer ([eab69c8](https://github.com/ax-llm/ax/commit/eab69c811c510235fe28377c83db662b15489909))
|
|
40
|
-
* agent framework, agents can use other agents ([93cbfb3](https://github.com/ax-llm/ax/commit/93cbfb3912e13e7e353ae70311be4467a2c97568))
|
|
41
|
-
* agent framework, agents can use other agents ([a7420e7](https://github.com/ax-llm/ax/commit/a7420e7256bf12667449c96a35d84c1a0f66d2ef))
|
|
42
|
-
* ai balancer to pick the cheapest llm with automatic fallback ([a8f7b7b](https://github.com/ax-llm/ax/commit/a8f7b7b9772691056d94a5cfec4d94f064df4a8f))
|
|
43
|
-
* auto-fix json syntax errors ([dc27812](https://github.com/ax-llm/ax/commit/dc27812ec9c9521dcc38d526e23191e9466e7d4e))
|
|
44
|
-
* automatic long term memory ([e94ffd5](https://github.com/ax-llm/ax/commit/e94ffd50d910ff6b17c25e7131ee87c38b2eba56))
|
|
45
|
-
* automatic vectordb retrieval augmented generation in proxy ([d081c18](https://github.com/ax-llm/ax/commit/d081c189f4cb78a217f7cfeeb127f528153a8813))
|
|
46
|
-
* aws bedrock support ([acdc89b](https://github.com/ax-llm/ax/commit/acdc89b49c733b6a31bb5e17694c6abe28d324eb))
|
|
47
|
-
* big [breaking] refactor ([c97395d](https://github.com/ax-llm/ax/commit/c97395d6d7ea5e259151675c19b0cb2f21e0c2a2))
|
|
48
|
-
* convert any document format to text and a full RAG engine builtin ([7f3f28c](https://github.com/ax-llm/ax/commit/7f3f28c0c185506fc479bfd61c1f35588e65cfd6))
|
|
49
|
-
* dbmanager handles chunking, embedding and search for text ([5c125f8](https://github.com/ax-llm/ax/commit/5c125f87d54fba405407bc4085701ffbf4748a45))
|
|
50
|
-
* deepseek and cohere function calling ([5341700](https://github.com/ax-llm/ax/commit/5341700a39b80115e9bce50b0176a1c9760a6064))
|
|
51
|
-
* enable remote logging with LLMC_APIKEY env var ([e04b257](https://github.com/ax-llm/ax/commit/e04b25797676bced2ecdc10c7368983d54ca2e19))
|
|
52
|
-
* gpt-4o added ([a388219](https://github.com/ax-llm/ax/commit/a388219ec52cfcef132199453f55ecb7c489156e))
|
|
53
|
-
* huggingface data loader ([47c6c0e](https://github.com/ax-llm/ax/commit/47c6c0efcfa468466dc54af2c92cc970821d30e2))
|
|
54
|
-
* improve trace logging ([12776be](https://github.com/ax-llm/ax/commit/12776be18d2d4795a018ff3e2bf710288586b589))
|
|
55
|
-
* improved debug logs ([38e869e](https://github.com/ax-llm/ax/commit/38e869e1be07ca7a0193bbb908819bd6759b561a))
|
|
56
|
-
* include reasoning in tracing ([e11f665](https://github.com/ax-llm/ax/commit/e11f665626ab34f462c73e7e05dd74db7b27d1fd))
|
|
57
|
-
* iterate to completion if max token length reached ([f9d0f50](https://github.com/ax-llm/ax/commit/f9d0f508609355dd93090e0021b73693733f3a52))
|
|
58
|
-
* JS code interpreter function ([b3de309](https://github.com/ax-llm/ax/commit/b3de30939e1f1f91e59c851d2a9f9600ca4ebed9))
|
|
59
|
-
* library is now down to 1 single dependency ([efaaa03](https://github.com/ax-llm/ax/commit/efaaa0338dbd8d2e8f272c7965bf5afb999e4276))
|
|
60
|
-
* llm converts meeting notes to trello tasks example ([633cb95](https://github.com/ax-llm/ax/commit/633cb956e3c04cced5006d2b32198dd3b42e13db))
|
|
61
|
-
* lots of api improvements and many bug fixes ([036cd06](https://github.com/ax-llm/ax/commit/036cd0662b80b3ef8e5e4994d00746ac74024a0b))
|
|
62
|
-
* major refactor to enable traceing and usage tracking ([a7c980c](https://github.com/ax-llm/ax/commit/a7c980cb3f2e50ca1bd012c280a7bd8147978b91))
|
|
63
|
-
* make it easier to customize prompts ([1870ee7](https://github.com/ax-llm/ax/commit/1870ee77a0a3491a34570033197efeb87a6f632a))
|
|
64
|
-
* migrated from commonjs to ES2022 ([c8ad44b](https://github.com/ax-llm/ax/commit/c8ad44b6a61246602afb1c3307d46de6b13e8152))
|
|
65
|
-
* multi-modal dsp, use images in input fields ([a170b55](https://github.com/ax-llm/ax/commit/a170b555072baa13a2bc577248ae9d67f8c7db6f))
|
|
66
|
-
* new agent framework ([1e7040c](https://github.com/ax-llm/ax/commit/1e7040ce2049afa270efee5528ea5b954f66188e))
|
|
67
|
-
* new agent prompt ([6c4df2c](https://github.com/ax-llm/ax/commit/6c4df2c50d84adcfc2f18c42033ad82aa7ca6be6))
|
|
68
|
-
* new llm proxy for tracing usage ([ab36530](https://github.com/ax-llm/ax/commit/ab36530aca00510aa1fc339c38317897caa24064))
|
|
69
|
-
* new llmclient command and crawler to embed and vectorize websites ([47a61f2](https://github.com/ax-llm/ax/commit/47a61f25bd4aa84acc7e0c7e59f73e10338372cc))
|
|
70
|
-
* new llmclient command and crawler to embed and vectorize websites ([ede47c5](https://github.com/ax-llm/ax/commit/ede47c5b01fe17056a813fd44ad659186865f134))
|
|
71
|
-
* openapi wispher support ([50e864f](https://github.com/ax-llm/ax/commit/50e864f91806c2d723fe6edd46bc3a6a2ecd17d8))
|
|
72
|
-
* parsing and processing output fields and functions while streaming ([95a7a93](https://github.com/ax-llm/ax/commit/95a7a93b9c40f8e7b25a2dd14b3b43d84a8d50fc))
|
|
73
|
-
* proxy support for all llms ([1e1edc3](https://github.com/ax-llm/ax/commit/1e1edc3a6b61dedbb4b45af011c79974f9fdef1b))
|
|
74
|
-
* req tracing added to ai classes ([dad8c3c](https://github.com/ax-llm/ax/commit/dad8c3caa4f02d70364a3785d9349575b9c102b6))
|
|
75
|
-
* spider to embed website ([56f4598](https://github.com/ax-llm/ax/commit/56f45984f894a790f93819464e0dc0a91b4bc66f))
|
|
76
|
-
* streaming support ([65839a9](https://github.com/ax-llm/ax/commit/65839a9fc041853af10971474bb2f1417919d0d3))
|
|
77
|
-
* support for google vertex ([49ee383](https://github.com/ax-llm/ax/commit/49ee3833e5f2fc423ca8c059670157b20acc8ac6))
|
|
78
|
-
* support for Hugging Face and other updates ([8f64432](https://github.com/ax-llm/ax/commit/8f644328ab10fcd409b98b02807a96fdccbc79e7))
|
|
79
|
-
* support for remote tracing ([033a67a](https://github.com/ax-llm/ax/commit/033a67ab5f6e1f2778ec435fa0e6f181223b6728))
|
|
80
|
-
* track token usage ([bd4f798](https://github.com/ax-llm/ax/commit/bd4f79824a29a89fed60b38bcef28e2935cebb86))
|
|
81
|
-
* true realtime output validation while streaming ([4308b99](https://github.com/ax-llm/ax/commit/4308b99a8855595527fbd161920ae6968292650c))
|
|
82
|
-
* updates to agent framework api ([472efbf](https://github.com/ax-llm/ax/commit/472efbfcfe8f9718a1031263a0363a9a7f72f918))
|
|
83
|
-
* vector db query rewriting ([52fad9c](https://github.com/ax-llm/ax/commit/52fad9cea59c619fd5d9b74ae5139abbec9c4834))
|
|
84
|
-
* vector db query rewriting ([bce6d19](https://github.com/ax-llm/ax/commit/bce6d198c7f807f4e5a97b8e1211107fecaebb9a))
|
|
85
|
-
* vector db support ([0ea1c7f](https://github.com/ax-llm/ax/commit/0ea1c7f0963946ead1ffc0908a8c5c1be5ce00fd))
|
|
86
|
-
* welcome llm-client ([225ec5a](https://github.com/ax-llm/ax/commit/225ec5aa24cf422ed3018e6fd19e248a0a763391))
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Bug Fixes
|
|
90
|
-
|
|
91
|
-
* add opentelemetry support and other fixes ([685fe80](https://github.com/ax-llm/ax/commit/685fe80f1687f97282f708d279e8588023e2213c))
|
|
92
|
-
* Add Polyfill for TextDecoderStream to Ensure Compatibility with Bun [#21](https://github.com/ax-llm/ax/issues/21) ([540348d](https://github.com/ax-llm/ax/commit/540348d9b25a361077b0e3574064fb4f2975b632))
|
|
93
|
-
* add tools support to anthropic ([1cc96b7](https://github.com/ax-llm/ax/commit/1cc96b7910127c9e00820b572b5fb6ca27662b1e))
|
|
94
|
-
* added missing typescript docs ([2459a28](https://github.com/ax-llm/ax/commit/2459a282e5cdd8ccc827665fe41f58974023bcfb))
|
|
95
|
-
* added system prompt to trace ([335bb40](https://github.com/ax-llm/ax/commit/335bb406eec22414014bcde8e264bb45bb44ff12))
|
|
96
|
-
* anthropic header issue ([40dbce0](https://github.com/ax-llm/ax/commit/40dbce0bd2ec03f1c9184e66cf88c8dfec31883c))
|
|
97
|
-
* anthropic proxy endpoint ([#7](https://github.com/ax-llm/ax/issues/7)) ([cf7c793](https://github.com/ax-llm/ax/commit/cf7c7939c393e85d63721762a6c7cc55c68502d2))
|
|
98
|
-
* anthropic, updated other models ([6e83d34](https://github.com/ax-llm/ax/commit/6e83d34f5acb8be282e172b47d9feeef0ce67436))
|
|
99
|
-
* Azure OpenAI chat/completion call failed ([#19](https://github.com/ax-llm/ax/issues/19)) ([#20](https://github.com/ax-llm/ax/issues/20)) ([0fad4f9](https://github.com/ax-llm/ax/commit/0fad4f9c3bd909c687b20193a5d0dbef4730481a))
|
|
100
|
-
* banner fixes ([fdf453b](https://github.com/ax-llm/ax/commit/fdf453b1ad02c337bcd0b8c213be3802a054eb9b))
|
|
101
|
-
* blank response with stream ([ab7c62d](https://github.com/ax-llm/ax/commit/ab7c62d52db231ae9661531f85a9d6a4cadfe222))
|
|
102
|
-
* bug in new open ai chat model ([654282d](https://github.com/ax-llm/ax/commit/654282d15c98d617840dc6f6014d0e961393bcd2))
|
|
103
|
-
* bug with exporting enums ([4fc0a3b](https://github.com/ax-llm/ax/commit/4fc0a3b5a7dd5413d8f6d4d3cfe18d2af54941c6))
|
|
104
|
-
* bug with exporting enums ([4ca8c5d](https://github.com/ax-llm/ax/commit/4ca8c5d23ec5b7320cc78936b3a663920ae6946c))
|
|
105
|
-
* build error ([e4d29c3](https://github.com/ax-llm/ax/commit/e4d29c34297c31bfe91def1af3468e6566554ce2))
|
|
106
|
-
* build fixes ([d8d4a47](https://github.com/ax-llm/ax/commit/d8d4a478e70ddfbff785d123f19ff78946f97789))
|
|
107
|
-
* build issue ([7733463](https://github.com/ax-llm/ax/commit/773346339acec1c7f7f9640cdf183b92fee28615))
|
|
108
|
-
* build issue ([071f476](https://github.com/ax-llm/ax/commit/071f476fe8046b561f54786e364517cf52fc91cb))
|
|
109
|
-
* build issue with previous version ([cfe92fd](https://github.com/ax-llm/ax/commit/cfe92fdbe5a2205815da3978a6c9903dcc46b617))
|
|
110
|
-
* build issues ([dd346c4](https://github.com/ax-llm/ax/commit/dd346c4b03aa43b2725ca3da40bab522ffb9297f))
|
|
111
|
-
* build issues ([33394df](https://github.com/ax-llm/ax/commit/33394dfd250e5c0f16bf9baa5c2b23d4d1777ef8))
|
|
112
|
-
* change name in package ([9697d19](https://github.com/ax-llm/ax/commit/9697d190526bfd923baa244aacd8e7522845a340))
|
|
113
|
-
* cleaup gitignore ([6627ff3](https://github.com/ax-llm/ax/commit/6627ff315aacddcfd321d014f7d129cd20142655))
|
|
114
|
-
* common llm model config to ensure more deterministic outputs ([0dce599](https://github.com/ax-llm/ax/commit/0dce59998bc731153a5d3588245e8fbfb7635727))
|
|
115
|
-
* examples ([973eb51](https://github.com/ax-llm/ax/commit/973eb51a23e0a6b4042d37b0e9967de2c0a76234))
|
|
116
|
-
* extra comma in package.json ([16b36f5](https://github.com/ax-llm/ax/commit/16b36f507e9b9e4cde6a823cb0f844f4ec0b3ee1))
|
|
117
|
-
* fix in proxy ([f778c9d](https://github.com/ax-llm/ax/commit/f778c9d2a8337730bc4ab08a0b00e304758d2500))
|
|
118
|
-
* fix in proxy ([f007d26](https://github.com/ax-llm/ax/commit/f007d269abd3768954d9e3428fe81e2ab2110b1c))
|
|
119
|
-
* fix in proxy ([ab87118](https://github.com/ax-llm/ax/commit/ab87118222de01ae4409aa5aaa65cdaa81eaf526))
|
|
120
|
-
* google gemini function calling ([a9214f3](https://github.com/ax-llm/ax/commit/a9214f3e6d2d96b724734e7a128276cbb76ca24d))
|
|
121
|
-
* google gemini now works great ([a6d6528](https://github.com/ax-llm/ax/commit/a6d6528e5f4a3a66be991ef8395159fb66bad1b8))
|
|
122
|
-
* import issues ([ce87294](https://github.com/ax-llm/ax/commit/ce87294cb62e293c6186a922b2a179bcde25baf1))
|
|
123
|
-
* improve examples ([6e656cb](https://github.com/ax-llm/ax/commit/6e656cbe631ff8eb127aae49e799a77cc55cecfb))
|
|
124
|
-
* improved the customer suppot example ([103b072](https://github.com/ax-llm/ax/commit/103b072c241140e380b0695d2c8fbaf5a91d3966))
|
|
125
|
-
* issue with cspell ([806cba1](https://github.com/ax-llm/ax/commit/806cba130fe61f96f8629d8d44344c80306c0611))
|
|
126
|
-
* issue with rate limiter ([0648ad7](https://github.com/ax-llm/ax/commit/0648ad7263493ebc34492cd72ec20704971c088f))
|
|
127
|
-
* json5 build issue ([fe6de9c](https://github.com/ax-llm/ax/commit/fe6de9ce995bc51996b12db57d9f3787bda2abd9))
|
|
128
|
-
* major fixes to function calling ([d44a373](https://github.com/ax-llm/ax/commit/d44a37300f4c427ede9a803939f5b90430e17a30))
|
|
129
|
-
* make mistral function calling work ([6bd9cf7](https://github.com/ax-llm/ax/commit/6bd9cf78b72ddd1b190ab798b47aedeb9a888001))
|
|
130
|
-
* make stop sequence optional ([d18addc](https://github.com/ax-llm/ax/commit/d18addcd287ce17dcd2a2c5feb8b8917d4f4f0e3))
|
|
131
|
-
* migrate npm package to llmclient ([97a4a07](https://github.com/ax-llm/ax/commit/97a4a07ed8e614563c7b7100141ce8bfde6aedb9))
|
|
132
|
-
* minor build fix ([32f04b3](https://github.com/ax-llm/ax/commit/32f04b3e5174a4915d8099c4a32c41979b0c652b))
|
|
133
|
-
* minor fix ([62fbf38](https://github.com/ax-llm/ax/commit/62fbf3807d60e1e367560a08ee40c25b9081137b))
|
|
134
|
-
* minor fixes ([3792700](https://github.com/ax-llm/ax/commit/3792700363172567b836cb5c562a62c41a703ce4))
|
|
135
|
-
* minor fixes ([574f73f](https://github.com/ax-llm/ax/commit/574f73f715f8972dbefa73e09978abf2de8e562c))
|
|
136
|
-
* minor fixes ([5ebf283](https://github.com/ax-llm/ax/commit/5ebf2831a8ecfef56df775ca127c546f0a562516))
|
|
137
|
-
* minor fixes ([5bb612d](https://github.com/ax-llm/ax/commit/5bb612d45a3089d8dac338a2cc8a21d388c161f9))
|
|
138
|
-
* minor fixes ([0fa4687](https://github.com/ax-llm/ax/commit/0fa4687ea70113321c829e9950e5b136da2e830d))
|
|
139
|
-
* minor fixes ([47eef31](https://github.com/ax-llm/ax/commit/47eef314ab5227940700938b08cfdbf39e390a7a))
|
|
140
|
-
* minor fixes ([0da9daf](https://github.com/ax-llm/ax/commit/0da9dafeb6375bdc819b1b0023253bf321f2ff07))
|
|
141
|
-
* minor fixes ([15bd72f](https://github.com/ax-llm/ax/commit/15bd72f9c8fff5b461792076f91e9689e7a55246))
|
|
142
|
-
* minor issue with incorrect error ([65e7ea8](https://github.com/ax-llm/ax/commit/65e7ea8847c98dc1d7ff72c6cb4e305936941330))
|
|
143
|
-
* missing imports ([9071c9e](https://github.com/ax-llm/ax/commit/9071c9e109921ef20d923f51a4d42ccfbb8bb5cd))
|
|
144
|
-
* new ai balancer to route based on token pricing in case of error ([7ea79a9](https://github.com/ax-llm/ax/commit/7ea79a90e0cf633d7517ce32701a9df18ba57b37))
|
|
145
|
-
* openai function tracing fixes ([d623f03](https://github.com/ax-llm/ax/commit/d623f03f6e8c3ad41fe5e919ef9433135bc199d9))
|
|
146
|
-
* opentelemetry tracing added to ai and vectordb ([1918410](https://github.com/ax-llm/ax/commit/1918410f4d83676fbcd9720b5707e5ab664761a6))
|
|
147
|
-
* prettier config ([8f4ca77](https://github.com/ax-llm/ax/commit/8f4ca77ecfe59605295e4f3f465db420e7380b9b))
|
|
148
|
-
* proxy command ([9eaf6e7](https://github.com/ax-llm/ax/commit/9eaf6e757422232135f21250300353735e4d6120))
|
|
149
|
-
* proxy port can be set using the env var PORT ([c08af8d](https://github.com/ax-llm/ax/commit/c08af8d3cac10d544794c618a8ddb6c19684ee7b))
|
|
150
|
-
* refactored request, response tracing ([1ac7023](https://github.com/ax-llm/ax/commit/1ac702334cd09dec9bc2f17944e67397762298ac))
|
|
151
|
-
* refactored usage reporting and other fixes ([84bf661](https://github.com/ax-llm/ax/commit/84bf661389ae806f2730bdd9d9edce2f5b932ede))
|
|
152
|
-
* remove comments ([73e3a30](https://github.com/ax-llm/ax/commit/73e3a3021d63e0b1fb2dcd6fc4b3e7a8267de4b1))
|
|
153
|
-
* remove index folder committed by mistake ([4d327ab](https://github.com/ax-llm/ax/commit/4d327abbbc7fb30041266f8cfdc426c7435c0a5f))
|
|
154
|
-
* removed crawler ([ab4ac6e](https://github.com/ax-llm/ax/commit/ab4ac6e10742611516067d937ab0350338973a3e))
|
|
155
|
-
* removed extra packages ([faae6d2](https://github.com/ax-llm/ax/commit/faae6d2512415cd8419105129a2a63527ec05371))
|
|
156
|
-
* renamed emailprompt to messageprompt ([3063a90](https://github.com/ax-llm/ax/commit/3063a907ed5383c63ed6f79cf1bcc27bf1fd04ac))
|
|
157
|
-
* renamed responseSchema to resultSchema for clarity ([b238b88](https://github.com/ax-llm/ax/commit/b238b88561cea813f3183d419b09b7f3386d16aa))
|
|
158
|
-
* resolved all typescript strict mode errors and warnings ([4f08fac](https://github.com/ax-llm/ax/commit/4f08face90d761faf97609213f88bbc84922d57c))
|
|
159
|
-
* result error-correction fixes ([eeaa12e](https://github.com/ax-llm/ax/commit/eeaa12e605f210df66c82a6f40e368d0ac6f0289))
|
|
160
|
-
* rewrite or error-correction code and other fixes ([37b620e](https://github.com/ax-llm/ax/commit/37b620e576982660d1013547043b07a1642b9892))
|
|
161
|
-
* seperated embed usage data from completion usage ([feb5619](https://github.com/ax-llm/ax/commit/feb5619f4df104e31edfbdd24f909a6c1b255a7f))
|
|
162
|
-
* set default model for openai to gpt3-turbo ([14ba73c](https://github.com/ax-llm/ax/commit/14ba73cc1fc80436c2073c85f5717215d03655a5))
|
|
163
|
-
* signature parser ([a149361](https://github.com/ax-llm/ax/commit/a149361263cae6e4bdc8a425f1abadd38ef9da56))
|
|
164
|
-
* streamlined the llm apis ([0bbc8b0](https://github.com/ax-llm/ax/commit/0bbc8b0729ef95657642ae3459fb43f5bbc666ff))
|
|
165
|
-
* system prompt fixes ([b56201c](https://github.com/ax-llm/ax/commit/b56201caf00df323925d2864f5c70f9ff70ee234))
|
|
166
|
-
* tests breaking ([4c047ce](https://github.com/ax-llm/ax/commit/4c047ce964d626129e0219e2dfef6ce7344f3747))
|
|
167
|
-
* ts cleanup ([be645d9](https://github.com/ax-llm/ax/commit/be645d952bec4d1b5022732a58a8705479147fbd))
|
|
168
|
-
* tuning and optimization fixes ([d0b892c](https://github.com/ax-llm/ax/commit/d0b892c7dd56f5720b75f8fe438cff8a5a29e535))
|
|
169
|
-
* type validation logic ([88eec1e](https://github.com/ax-llm/ax/commit/88eec1ebb4faa126ec491785c552a4958369f030))
|
|
170
|
-
* update model defaults ([1c70dd7](https://github.com/ax-llm/ax/commit/1c70dd7b2631f865216ae4d90c304db56880a806))
|
|
171
|
-
* update model defaults ([cc7e82f](https://github.com/ax-llm/ax/commit/cc7e82f0033f4881bc473dec53dc770023c32eab))
|
|
172
|
-
* update model defaults ([1251372](https://github.com/ax-llm/ax/commit/12513727f3b7f683858eed549f4ecea87883f91e))
|
|
173
|
-
* update package name ([ed5346c](https://github.com/ax-llm/ax/commit/ed5346c029e8228e37bae6494337496db5a4d774))
|
|
174
|
-
* Updated Cohere reqValue to include input_type (required since v3), Groq model to llama3-70b-8192 (llama2-70b-4096 was depreciated), and added a temporary fix to the marketing.py example (messageGuidelines expects a string, not a string array). ([#22](https://github.com/ax-llm/ax/issues/22)) ([5885877](https://github.com/ax-llm/ax/commit/5885877ecb2294566713abe323344c1b67eae9ba))
|
|
175
|
-
* updates to debugging proxy ([6476a23](https://github.com/ax-llm/ax/commit/6476a23a6b297f216b45afff12d1f37883714a92))
|
|
176
|
-
* valid healthcheck path for proxy ([3adea76](https://github.com/ax-llm/ax/commit/3adea76b081cc433450229c449f0c65bcb2a8cf7))
|
|
177
|
-
* various fixes ([a0099a8](https://github.com/ax-llm/ax/commit/a0099a8958fae739d431a82a8715cf86bc2e74b5))
|
|
178
|
-
* various fixes ([7b75342](https://github.com/ax-llm/ax/commit/7b753421b438d2f01ae20b0a25549c994bdd07b3))
|
|
179
|
-
* various fixes ([440cb84](https://github.com/ax-llm/ax/commit/440cb842a8c39f00b1ba7fbb6c4523a1d1275387))
|
|
180
|
-
* various fixes ([516fbcb](https://github.com/ax-llm/ax/commit/516fbcbf69f42d4a3d0a9169098087a0d603e945))
|
|
181
|
-
* various fixes ([0978b29](https://github.com/ax-llm/ax/commit/0978b2904454b1928f5254f1f241797f77a64ac2))
|
|
182
|
-
* various proxy fixes ([61b693a](https://github.com/ax-llm/ax/commit/61b693a9c95b4f173ca48bcc91b9154cfabc2963))
|
|
183
|
-
* version update ([c4794a3](https://github.com/ax-llm/ax/commit/c4794a3e1853c58b60f7e9357d755dab4bca6e4e))
|
|
184
|
-
* zprompt type spec ([db1f7e7](https://github.com/ax-llm/ax/commit/db1f7e75c4ac176ea3ca424e5fc276d5e43081be))
|
package/LICENSE
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright [yyyy] [name of copyright owner]
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|