Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add models to Modus AssemblyScript SDK #428

Merged
merged 7 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Add Local Model Invocation Support [#421](https://github.com/hypermodeinc/modus/pull/421)
- Remove HTTP Timeout, Add Context Timeout on Collections [#422](https://github.com/hypermodeinc/modus/pull/422)
- Add Modus AssemblyScript SDK [#423](https://github.com/hypermodeinc/modus/pull/423)
- Add models to Modus AssemblyScript SDK [#428](https://github.com/hypermodeinc/modus/pull/428)

## 2024-10-02 - Version 0.12.7

Expand Down
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
"nquads",
"objs",
"offsetof",
"omitif",
"omitnull",
"openai",
"operationreport",
"pgconn",
Expand Down Expand Up @@ -150,6 +152,7 @@
"tsrv",
"typedarray",
"uids",
"uncategorized",
"unmarshalling",
"unnest",
"upsert",
Expand Down
Binary file modified runtime/languages/assemblyscript/testdata/build/testdata.wasm
Binary file not shown.
5 changes: 2 additions & 3 deletions runtime/languages/assemblyscript/testdata/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
Message,
UserMessage,
ToolChoiceTool,
} from "@hypermode/models-as/models/anthropic/messages";
} from "@hypermode/modus-sdk-as/models/anthropic/messages";


@json
Expand Down
78 changes: 36 additions & 42 deletions sdk/assemblyscript/examples/anthropic-functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
"dependencies": {
"@hypermode/modus-sdk-as": "../../src",
"@hypermode/models-as": "^0.2.4",
"json-as": "^0.9.21"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { models } from "@hypermode/modus-sdk-as";
import {
ClassificationModel,
ClassifierResult,
} from "@hypermode/models-as/models/experimental/classification";
} from "@hypermode/modus-sdk-as/models/experimental/classification";

// This model name should match one defined in the hypermode.json manifest file.
const modelName: string = "my-classifier";
Expand Down
Loading
Loading