-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Rasa X Configuration API Calls #4290
Comments
Thanks for submitting this feature request 🚀@akelad will get back to you about it soon!✨ |
@wochinge do you think something like this would make sense to add? |
@rgstephens Great idea! Thanks for helping us to progress with the API. To my knowledge @ricwo has already been working on that. |
hi @rgstephens, do you mean the NLU / Core model config? That endpoint exists at /projects/{project_id}/settings:
get:
tags:
- Settings
summary: Fetch model config
operationId: getConfig
parameters:
- $ref: '#/components/parameters/projectId'
- $ref: '#/components/parameters/api_token'
responses:
200:
description: Model configuration
content:
application/json:
schema:
type: object
properties:
nlu_config:
description: YAML string
type: string
400:
description: could not find settings
401:
$ref: '#/components/responses/UnauthorizedError'
put:
tags:
- Settings
summary: Save model config
operationId: saveConfig
parameters:
- $ref: '#/components/parameters/projectId'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
nlu_config:
description: YAML string
type: string
responses:
200:
description: Saved configuration
content:
application/json:
schema:
type: object
properties:
nlu_config:
description: YAML string
type: string
400:
description: Could not parse config file
401:
description: Config missing mandatory keys
402:
description: Could not save config file |
Yes, that's what I was looking for. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description of Problem:
There is no API call to get the Rasa X model configuration like there is for environments.
Overview of the Solution:
Add GET and PUT calls for configuration similar to environments.
Definition of Done:
The text was updated successfully, but these errors were encountered: