Skip to content

Releases: bosun-ai/swiftide

swiftide-v0.17.0

16 Jan 16:45
Compare
Choose a tag to compare

New features

  • 835c35e (agents) Redrive completions manually on failure (#551)
Sometimes LLMs fail a completion without deterministic errors, or the
  user case where you just want to retry. `redrive` can now be called on a
  context, popping any new messages (if any), and making the messages
  available again to the agent.
  • f83f3f0 (agents) Implement ToolExecutor for common dyn pointers (#549)

  • 7f85735 (query) Add custom lancedb query generation for lancedb search (#518)

  • ce4e34b (tree-sitter) Add golang support (#552)

Seems someone conveniently forgot to add Golang support for the
  splitter.

Miscellaneous

  • 0000000 Update Cargo.lock dependencies

Full Changelog: 0.16.4...0.17.0

swiftide-v0.16.4

12 Jan 11:21
b33b4c8
Compare
Choose a tag to compare

New features

  • c919484 Ollama via async-openai with chatcompletion support (#545)
Adds support for chatcompletions (agents) for ollama. SimplePrompt and embeddings now use async-openai underneath.

  Copy pasted as I expect some differences in the future.

Miscellaneous

  • 0000000 Update Cargo.toml dependencies

Full Changelog: 0.16.3...0.16.4

swiftide-v0.16.3

10 Jan 21:59
edb94fe
Compare
Choose a tag to compare

New features

  • b66bd79 (fastembed) Add support for jina v2 code (#541)
Add support for jina v2 code in fastembed.

Full Changelog: 0.16.2...0.16.3

swiftide-v0.16.2

09 Jan 08:55
2ee2663
Compare
Choose a tag to compare

Bug fixes

  • 2226755 Explicit cast on tools to Box to make analyzer happy (#536)

Full Changelog: 0.16.1...0.16.2

swiftide-v0.16.1

06 Jan 22:25
a59dccf
Compare
Choose a tag to compare

Bug fixes

  • d198bb0 (prompts) Skip rendering prompts if no context and forward as is (#530)
Fixes an issue if strings suddenly include jinja style values by
  mistake. Bonus performance boost.
  • 4e8d59f (redb) Log errors and return uncached instead of panicing (#531)

Full Changelog: 0.16.0...0.16.1

swiftide-v0.16.0

04 Jan 12:36
Compare
Choose a tag to compare

New features

  • 52e341e (lancedb) Public method for opening table (#514)

  • 3254bd3 (query) Generic templates with document rendering (#520)

Reworks `PromptTemplate` to a more generic `Template`, such that they
  can also be used elsewhere. This deprecates `PromptTemplate`.

  As an example, an optional `Template` in the `Simple` answer
  transformer, which can be used to customize the output of retrieved
  documents. This has excellent synergy with the metadata changes in #504.
  • 235780b (query) Documents as first class citizens (#504)
For simple RAG, just adding the content of a retrieved document might be
  enough. However, in more complex use cases, you might want to add
  metadata as well, as is or for conditional formatting.

  For instance, when dealing with large amounts of chunked code, providing
  the path goes a long way. If generated metadata is good enough, could be
  useful as well.

  With this retrieved Documents are treated as first class citizens,
  including any metadata as well. Additionally, this also paves the way
  for multi retrieval (and multi modal).
  • 584695e (query) Add custom SQL query generation for pgvector search (#478)
Adds support for custom retrieval queries with the sqlx query builder for PGVector. Puts down the fundamentals for custom query building for any retriever.

  ---------
  • b55bf0b (redb) Public database and table definition (#510)

  • 176378f Implement traits for all Arc dynamic dispatch (#513)

If you use i.e. a `Persist` or a `NodeCache` outside swiftide as well, and you already have it Arc'ed, now it just works.
  • dc9881e Allow opt out of pipeline debug truncation

Bug fixes

  • 2831101 (lancedb) Metadata should be nullable in lancedb (#515)

  • c35df55 (macros) Explicit box dyn cast fixing Rust Analyzer troubles (#523)

Miscellaneous

Full Changelog: 0.15.0...0.16.0

swiftide-v0.15.0

24 Dec 11:18
Compare
Choose a tag to compare

New features

  • a1b9a2d (query) Ensure concrete names for transformations are used when debugging (#496)

  • 7779c44 (query) Ensure query pipeline consistently debug logs in all other stages too

  • 55dde88 (query) Debug full retrieved documents when debug mode is enabled (#495)

  • 66031ba (query) Log query pipeline answer on debug (#497)

Miscellaneous

  • d255772 (agents) Rename CommandError::FailedWithOutput to CommandError::NonZeroExit (#484)
Better describes what is going on. I.e. `rg` exits with 1 if nothing is
  found, tests generally do the same if they fail.
  • 0000000 Update Cargo.toml dependencies

Full Changelog: 0.14.4...0.15.0

swiftide-v0.14.4

12 Dec 09:43
Compare
Choose a tag to compare

New features

  • 7211559 (agents) EXPERIMENTAL Agents in Swiftide (#463)
Agents are coming to Swiftide! We are still ironing out all the kinks,
  while we make it ready for a proper release. You can already experiment
  with agents, see the rustdocs for documentation, and an example in
  `/examples`, and feel free to contact us via github or discord. Better
  documentation, examples, and tutorials are coming soon.

  Run completions in a loop, define tools with two handy macros, customize
  the agent by hooking in on lifecycle events, and much more.

  Besides documentation, expect a big release for what we build this for
  soon! 🎉
  • 3751f49 (query) Add support for single embedding retrieval with PGVector (#406)

Miscellaneous

Full Changelog: 0.14.3...0.14.4

swiftide-v0.14.3

20 Nov 12:09
0896844
Compare
Choose a tag to compare

New features

  • 1774b84 (integrations) Add PGVector support for indexing (#392)

Full Changelog: 0.14.2...0.14.3

swiftide-v0.14.2

08 Nov 13:26
6349bc6
Compare
Choose a tag to compare

Bug fixes

  • 3924322 (querying) Query pipeline is now properly send and sync when possible (#425)

Miscellaneous

- **Tokio on rt-multi-thread only**
  - **Remove manual checks from lancedb integration test**
  - **Ensure all deps in workspace manifest**
  - **Remove unused deps**
  - **Remove examples and benchmarks from default members**

Full Changelog: 0.14.1...0.14.2