How to do topic modeling before upserv? (preprocessing) #1475
Unanswered
themeaningofmeaning
asked this question in
Q&A
Replies: 1 comment 1 reply
-
dont think currently there is a way for that. but we are adding custom document loader which is a piece of JS code where you can basically customize to your needs |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone figured out a way to do topic modeling for adding metadata on a document before up serving. This is typically added programmatically as follows:
`# Generate embeddings for the chunk
embedding = model.encode([chunk])
`
In my working flow below, which chunks document data and then embeds into Pincone, this would ideally be a single HuggingFace block somewhere before each document chunk embedding unserved to pinecone:

Beta Was this translation helpful? Give feedback.
All reactions