Closed TephrosisDEV closed 10 months ago
@TephrosisDEV I setup a working version of the SDK in Stackblitz. You should be able to access chatStream
and import CohereClient
.
Let me know if that works for you!
That helped a lot. I saw your version was 7.1.1, while mine was only 6.2.2 Now I have all autocomplete and I can experiment again. Thanks a lot!
Hello,
I'm trying to use the chat functionality of Cohere. I copied the example code, but I get this error: Module '"cohere-ai"' has no exported member 'CohereClient'. Is the example outdated? If so, what's the correct way to use the chatStream functionality?
When I check the file I only see these accessible functions: