@CarlosDavid-r1m I have not had any hands on with LangChain but from what I can read in their documentation it looks like you can create a class and inherit from Embeddings interface. Then all you have to do is implement the embed_documents and embed_query methods to access your or any REST API. Hope this helps.
can this be used with lang chain?
@CarlosDavid-r1m I have not had any hands on with LangChain but from what I can read in their documentation it looks like you can create a class and inherit from Embeddings interface. Then all you have to do is implement the embed_documents and embed_query methods to access your or any REST API. Hope this helps.