discourse-ai/spec
Sam 823e8ef490
FEATURE: partial tool call support for OpenAI and Anthropic (#908)
Implement streaming tool call implementation for Anthropic and Open AI.

When calling:

llm.generate(..., partial_tool_calls: true) do ...
Partials may contain ToolCall instances with partial: true, These tool calls are partially populated with json partially parsed.

So for example when performing a search you may get:

ToolCall(..., {search: "hello" })
ToolCall(..., {search: "hello world" })

The library used to parse json is:

https://github.com/dgraham/json-stream

We use a fork cause we need access to the internal buffer.

This prepares internals to perform partial tool calls, but does not implement it yet.
2024-11-14 06:58:24 +11:00
..
configuration FIX: Correctly display errors when parent module needs to be disabled first (#788) 2024-08-30 17:16:11 -03:00
db/migrate Migrate sentiment to a TEI backend (#886) 2024-11-04 09:14:34 -03:00
fabricators FEATURE: Automatically backfill regular summaries. (#892) 2024-11-04 17:48:11 -03:00
fixtures FIX: Load categories from search response (#612) 2024-05-14 17:13:25 +03:00
jobs FEATURE: Extend summary backfill to also generate gists (#896) 2024-11-07 13:40:18 -03:00
lib FEATURE: partial tool call support for OpenAI and Anthropic (#908) 2024-11-14 06:58:24 +11:00
models DEV: Prefer ENV key for seeded models (#893) 2024-11-05 06:19:13 -08:00
requests FEATURE: partial tool call support for OpenAI and Anthropic (#908) 2024-11-14 06:58:24 +11:00
serializers DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
services/discourse_ai REFACTOR: Support of different summarization targets/prompts. (#835) 2024-10-15 13:53:26 -03:00
shared Migrate sentiment to a TEI backend (#886) 2024-11-04 09:14:34 -03:00
support Migrate sentiment to a TEI backend (#886) 2024-11-04 09:14:34 -03:00
system DEV: Added compatibility with the Glimmer Post Menu (#887) 2024-11-12 15:46:17 -03:00
tasks Migrate sentiment to a TEI backend (#886) 2024-11-04 09:14:34 -03:00
plugin_helper.rb DEV: Fix mismatched column types (#868) 2024-10-28 15:36:42 +02:00
plugin_spec.rb DEV: Hide soon to be deprecated modules settings (#872) 2024-10-28 14:27:25 -03:00