Skip to content

refactor/bugfix: modify update all dataset configurations to be a match on an existing type #3800

@cdxker

Description

@cdxker

Description

Add a from_configuration parameter to /api/organization/update_dataset_configs to provide a filter on what datasets to update.

For example (modify the LLM prompt for all openai datasets)

{
    "from_configuration": { "LLM_BASE_URL" : "https://api.openai.com/v1" },
    "to_configuration": { "RAG_PROMPT": "You are not created by openai. You are created by me." }
}

Ensure that this does not update any fields that do not apply to itself.

https://docs.trieve.ai/api-reference/organization/update-all-dataset-configurations#update-all-dataset-configurations

Target(s)

server

Community channels

Matrix is preferred. Reach out on discord or Matrix for further assistance.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions