question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix `/train` endpoint (and potentially other server endpoints) for new data format

See original GitHub issue

With the switch to YAML for 2.0, we forgot to update the /model/train endpoint in the server to be able to handle that, and so the tests are failing/hanging in the PR #6352

It still writes the files to markdown files, that should be yaml now and also the concept of nlu vs stories files doesn’t exist anymore: https://github.com/RasaHQ/rasa/blob/master/rasa/server.py#L746

I haven’t checked if there’s other endpoints that incorrectly handle that, so we may have to address that too

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
wochingecommented, Oct 21, 2020

Is application/json only compatible with markdown at the moment?

Yes! You need to use application/x-yaml for the yaml payload

1reaction
tmbocommented, Aug 10, 2020

sounds great 💯 let me know how things go so I can update the multimedia responses PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix `/train` endpoint (and potentially other server ... - GitHub
I think the goal should be: support the existing format at least for the old training data format; add an endpoint that supports...
Read more >
Advanced agent settings - TechDocs - Broadcom Inc.
Name of Setting Default values Description CommLayer.NO_TRAFFIC_TIMEOUT_SECONDS.int 300 seconds (5 minutes) Detection.CHUNK_SIZE.int 65536 The text chu... Detection.ENABLE_METADATA.str off
Read more >
Use private endpoints for online prediction | Vertex AI
Overview · Check the status of existing peering connections · Enable the necessary APIs · Send a prediction to a private endpoint ·...
Read more >
REST API Design Best Practices Handbook – How to Build a ...
Accept and respond with data in JSON format. When interacting with an API, you always send specific data with your request or you...
Read more >
Modify your Azure File Sync topology | Microsoft Learn
Migrate a server endpoint to a different Azure File Sync Storage Sync Service · Change the granularity of a server endpoint · Deprovision...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found