-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: FormulaMonks/kurt
base: @formula-monks/kurt-open-ai-v1.8.1
head repository: FormulaMonks/kurt
compare: main
- 20 commits
- 34 files changed
- 1 contributor
Commits on Nov 27, 2024
-
fix: system prompt formatting for Vertex AI
Prior to this commit, system prompt messages were included by the `KurtVertexAI` as part of the `content` stream of messages. However, VertexAI requires system messages to be specified separately. This commit makes that change.
Configuration menu - View commit details
-
Copy full SHA for 4e5ab14 - Browse repository at this point
Copy the full SHA 4e5ab14View commit details -
Merge pull request #57 from FormulaMonks/fix/vertex-ai-system-prompt
fix: system prompt formatting for Vertex AI
Configuration menu - View commit details
-
Copy full SHA for 02bd154 - Browse repository at this point
Copy the full SHA 02bd154View commit details
Commits on Dec 3, 2024
-
feat: add
kurt-cache
package withKurtCache
adapterThis will make it easy to work with LLMs in tests, without requiring any LLM connectivity/usage for running existing tests whose inner LLM responses are already cached.
Configuration menu - View commit details
-
Copy full SHA for 3d654d0 - Browse repository at this point
Copy the full SHA 3d654d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5d9348 - Browse repository at this point
Copy the full SHA f5d9348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b6677 - Browse repository at this point
Copy the full SHA 97b6677View commit details -
Merge pull request #58 from FormulaMonks/add/kurt-cache
feat: add `kurt-cache` package with `KurtCache` adapter
Configuration menu - View commit details
-
Copy full SHA for c97ebd4 - Browse repository at this point
Copy the full SHA c97ebd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0fc4cc - Browse repository at this point
Copy the full SHA d0fc4ccView commit details
Commits on Dec 4, 2024
-
fix: kurtCache handling of schemas - serialize as JSON Schema
Prior to this commit, KurtCache would raise an unhandled YAML serializing exception when storing a cache entry that included structured data, because it was trying to serialize the Zod schema object directly. This commit fixes that problem by converting the schema to JSON schema (which is cleanly serializable) before writing the YAML cache entry.
Configuration menu - View commit details
-
Copy full SHA for aca061a - Browse repository at this point
Copy the full SHA aca061aView commit details
Commits on Dec 5, 2024
-
Merge pull request #59 from FormulaMonks/fix/kurt-cache-schema
fix: KurtCache handling of schemas - serialize as JSON Schema
Configuration menu - View commit details
-
Copy full SHA for 65a209d - Browse repository at this point
Copy the full SHA 65a209dView commit details
Commits on Dec 6, 2024
-
feat: add
forceSchemaConstrainedTokens
toKurtSamplingOptions
This maps to the new-ish `strict: true` feature of OpenAI which enables constrained token sampling, but has certain caveats that make it undesirable to turn on by default. See issue #61 for more info.
Configuration menu - View commit details
-
Copy full SHA for 91dd0ba - Browse repository at this point
Copy the full SHA 91dd0baView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0f384c - Browse repository at this point
Copy the full SHA f0f384cView commit details -
Merge pull request #62 from FormulaMonks/add/schema-constrained-tokens
feat: add `forceSchemaConstrainedTokens` to `KurtSamplingOptions`
Configuration menu - View commit details
-
Copy full SHA for 9ba8bdb - Browse repository at this point
Copy the full SHA 9ba8bdbView commit details
Commits on Dec 9, 2024
-
feat: add support for schema-constrained tokens in
KurtOpenAI
This commit also updates the set of supported models to include the newer model snapshots. We also update the tests to allow for specifying different models per test, and to mostly use the newer models.
Configuration menu - View commit details
-
Copy full SHA for a98877b - Browse repository at this point
Copy the full SHA a98877bView commit details -
Merge pull request #63 from FormulaMonks/add/open-ai-schema-constrain…
…ed-tokens feat: add support for schema-constrained tokens in `KurtOpenAI`
Configuration menu - View commit details
-
Copy full SHA for c3a255d - Browse repository at this point
Copy the full SHA c3a255dView commit details -
fix: make KurtVertexAI properly throw KurtCapabilityError for the sch…
…ema-constrained tokens case Vertex AI is not yet capable of this feature, and we want to proactively warn the user that they cannot expect a schema conformance guarantee.
Configuration menu - View commit details
-
Copy full SHA for 623cfe7 - Browse repository at this point
Copy the full SHA 623cfe7View commit details
Commits on Dec 10, 2024
-
fix: ensure
KurtCache
hashes the newforceSchemaConstrainedTokens
…… option This ensures that changing the option will correctly cause a cache miss. But leaving it at the default value of `false` won't change existing hashes because `false` is treated as "missing" in the `mayHash` internal function.
Configuration menu - View commit details
-
Copy full SHA for f3d86d6 - Browse repository at this point
Copy the full SHA f3d86d6View commit details -
Merge pull request #64 from FormulaMonks/fix/vertex-ai-schema-constra…
…ined-tokens-error fix: make KurtVertexAI properly throw KurtCapabilityError for the schema-constrained tokens case
Configuration menu - View commit details
-
Copy full SHA for 3b223a8 - Browse repository at this point
Copy the full SHA 3b223a8View commit details -
Merge pull request #65 from FormulaMonks/fix/cache-force-schema-const…
…rained fix: ensure `KurtCache` hashes the new `forceSchemaConstrainedTokens` option
Configuration menu - View commit details
-
Copy full SHA for 2ac7233 - Browse repository at this point
Copy the full SHA 2ac7233View commit details -
fix: correctly pass through the
forceTool
option inside `KurtCache.……generateRawEvents` Prior to this commit, that option was being silently dropped because it was neglected in the new object that gets sent to the internal adapter. This commit introduces a usage of the spread operator to ensure that no such options are dropped (while still allowing the replacement of other options).
Configuration menu - View commit details
-
Copy full SHA for 3de51b2 - Browse repository at this point
Copy the full SHA 3de51b2View commit details -
Merge pull request #66 from FormulaMonks/fix/cache-force-tool
fix: correctly pass through the `forceTool` option inside `KurtCache.generateRawEvents`
Configuration menu - View commit details
-
Copy full SHA for 93a974b - Browse repository at this point
Copy the full SHA 93a974bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff @formula-monks/kurt-open-ai-v1.8.1...main