Enable use of 3rd party/ open source/ locally hosted embedding models by adding base_url
arg to OpenAI call in openparse.processing.semantic_transforms
#69
vivienneprince
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is an easy fix that gives the package a lot more flexibility. People can pass a different
base_url
toopenparse.processing.ingest.SemanticIngestionPipeline
to use any hosted embedding model that emulates OpenAI's API.Example for using a locally hosted sentence-transformers embedding model:
Beta Was this translation helpful? Give feedback.
All reactions