Skip to content

Feature: API & Override Settings support#38

Open
FxMorin wants to merge 2 commits into
kousw:masterfrom
FxMorin:feature/api-texts
Open

Feature: API & Override Settings support#38
FxMorin wants to merge 2 commits into
kousw:masterfrom
FxMorin:feature/api-texts

Conversation

@FxMorin

@FxMorin FxMorin commented Feb 27, 2025

Copy link
Copy Markdown

Adds support to change attention texts used by daam through either the api or override settings.
This should help when you only need to check a couple texts, and not the entire prompt.

API:
/daam/v1/set-attention-text
Providing an empty string will clear attention texts to use. Otherwise, it will use it as the source of attention texts.

/daam/v1/get-attention-text
Gets the current attention texts set through the API.

Override Settings:
Pass texts through daam-texts within override_settings.

Override settings has priority over the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant