IntelliJava icon indicating copy to clipboard operation
IntelliJava copied to clipboard

Add embedding function to the open ai wrapper

Open Barqawiz opened this issue 1 year ago • 0 comments

  • Update the config to include the embedding link.
  • Add the embedding function to open ai wrapper.
  • Create the embedding input class / or update if exist.
  • Create remote embedding function / or update if exist.
  • Create a unit testing function.

Embedding api: "/v1/embeddings"

Follow the example from the node version generate embedding function: https://github.com/Barqawiz/IntelliNode/blob/main/IntelliNode/wrappers/OpenAIWrapper.js

Barqawiz avatar May 06 '23 21:05 Barqawiz