Closed d-e-h-i-o closed 8 months ago
Thanks @d-e-h-i-o, we're looking into this!
Thanks @d-e-h-i-o, we're looking into this!
Thank you! I also noticed that the types for the documents are wrong (they only contain the field id
).
Also running into this in node v21. Any workarounds?
Also running into this in node v21. Any workarounds?
You can make a http request with axios
or so, it just a litte more code.
The documents
parameter should accept any key-value pairs, as described in the documentation at https://docs.cohere.com/docs/retrieval-augmented-generation-rag
Hey all, thanks for reporting! This issue should be fixed with 7.4.0. Let us know if you have any further problems
I'm using the library with Deno (
1.36.4
) and calling the chat function with documents produces the following error:This is a reproducible example:
Just replace
<token>
and run withdeno run <filename>