https://www.boundaryml.com logo
Hi,can BAML's LSP providing more detail
# general
w
Hi,can BAML's LSP providing more detail info for test case? The problem is : I'm testing my prompt with plenty of datas(over 700 lines json),like:
Copy code
baml
class InputArticle {
  referenceId string
  platform string
  sourceId string
  title string
  content string
  publishedAt string?
  summary string?
  tags string?
}
I have my raw json data files,and when I copy data into baml's test case,it get errors(picture 1). I suppose the question is some item in my data has some escaping issue,but I cannot find it with baml's LSP info.Is there any way to solve this?Or will baml support import json from external files? https://cdn.discordapp.com/attachments/1119375594984050779/1460808263737151561/image.png?ex=697966b6&is=69781536&hm=8d36ae66538a09fe8ba8cac17b0fc266cf8284d8c10113462be9cb7b9823067e&
Or is there any best practice advise for such problems?
I have checked my json file.It seems like it's not escaping issue. Is baml's parser have some sensitive words?
v
we're currently working on fixing the LSP (and in turn the parser!) (including making errors much better and more robust to invalid syntax - similar to that of typescript/rust)
sadly its a massive work-item and we're hoping it to be ready by end of Jan! 🙁
this (and general language + LSP capabilities) are actively our biggest priority! in case you're curious whats going into it 🙂 https://github.com/BoundaryML/baml/commits/canary/baml_language
w
Thanks for your reply.I got it. BTW,one more question,I remembered that last year (summer?) baml has a workflow preview.But I haven't seen any changelog. Is there any ways that I can receive workflow feature's progress?
v
that repo also includes the workflow code 🙂
that changelist*
same target date!