Commit Graph

5 Commits

Author SHA1 Message Date
Dmitry Ng 064f09155c chore(deps): bump Go toolchain to 1.26.5 and fix vulnerable dependencies
- Raised the `go` directive from 1.24.1 to 1.26.5 to satisfy pgx/v5 and ollama's minimum Go version requirements and to pick up 15 patched standard library CVEs.
- Updated `pgx/v5`, `otel`/`otel/sdk`/`otlptracehttp`, `x/net`, and the AWS `eventstream` protocol package to their latest requested versions.
- Remediated govulncheck-flagged CVEs in `grpc`, `x/text`, `x/crypto`, `antchfx/xpath`, AWS SDK `bedrock*`/`s3` services, `etcd/server`, and `mongo-driver` v1/v2.
- Fixed ollama's `MainGPU` API type change (`int` -> `*int`) in `llms/ollama/options.go` without breaking the public `WithRunnerMainGPU` signature.
2026-08-04 13:57:26 +03:00
Dmitry Ng 1fc129969f feat(llms): add provider-neutral structured output via WithStructuredOutput
Add a single WithStructuredOutput(StructuredOutputConfig) call option
carrying a raw JSON Schema (Draft 2020-12), so one contract yields the
same guarantee — a normal-final response is a single JSON value matching
the schema — on OpenAI, Anthropic, Bedrock (Converse and legacy), Google
AI, Vertex, and Ollama. Each provider maps it to its native mechanism;
the result is validated locally against the original schema in the new
llms/structuredoutput package. Also fixes a latent Converse gap where the
response stop reason was never surfaced on ContentChoice.StopReason.
2026-07-17 04:39:05 +03:00
Dmitry Ng aa2dd71269 Merge branch 'main' into release/v0.1.14-update.1 2026-01-24 02:07:00 +03:00
Dmitry Ng 019056baba feat: setup repository for fork 2025-06-22 02:27:21 +03:00
Dmitry Ng 1fba44588a Merge branch 'pr/613’ into main-pull-requests
Squashed commit of the following:

Author: filepang <filepang@gmail.com>
Date:   Tue Feb 27 16:18:58 2024 +0900

    refactor: remove unnecessary math32.Pow call
    refactor: Use math32 instead of cast to float64

Author: filepang <filepang@gmail.com>
Date:   Tue Feb 20 18:36:27 2024 +0900

    examples: Add inmemory vectorstore example
    vectorstore: Add initial implementation of inmemory vectorstore
2025-06-22 02:03:40 +03:00