Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cdxker opened this issue Apr 21, 2025 · 0 comments · May be fixed by #3852
Open

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

cdxker opened this issue Apr 21, 2025 · 0 comments · May be fixed by #3852
Assignees

Comments

@cdxker
Copy link
Member

cdxker commented Apr 21, 2025

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.

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 a pull request may close this issue.

2 participants