langtorch icon indicating copy to clipboard operation
langtorch copied to clipboard

Add embedding support to cohere

Open steveny2k opened this issue 2 years ago • 3 comments

can add embedding support for cohere, similar to openai

steveny2k avatar Jun 19 '23 06:06 steveny2k

That would be great!

Currently, there's only a generate endpoint being implemented in CohereAIApi. ai/knowly/langtorch/llm/cohere/CohereAIApi.java

You probably need to add an endpoint there and corresponding sync and async methods in CohereAIService. It would be great if you also add an embedding processor

li2109 avatar Jun 19 '23 06:06 li2109

sure. i'm working on it.

steveny2k avatar Jun 20 '23 04:06 steveny2k

have been quite busy at work, thus didn't have time on this feature.

will see if i'll find time in the future.

steveny2k avatar Nov 20 '23 05:11 steveny2k