Good Bob
Good Bob
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
Thank you!
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
Might I ask, what is a normal way to make an id for an entry? Is hashing the text a decent way to go?
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
This makes sense now! Thank you for your help. This whole domain is really new to me.
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
hmm are the entries I made put with a random id or something?
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
Does the api truncate the ids if they are too long? I didn't get an error response.
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
I was just looking over the api and it wasn't returning anything from the ids and I noticed the keys are too long. Looks like I have a few kinks to work out.
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
I noticed my script it outputting the entries twice, but they all have the same IDs. I need to lookup how to query vectorize directly. langchain doesn't support returning ids from search queries AFAIK
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
how do I go about that?
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
Actually I just tested the endpoint I setup and it's still returning repeats. https://langchain-workers.derelict.workers.dev/vector?get=mankind
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
Here's the script if you want to check it's not a mistake on my end. I'm no python programmer. https://github.com/anaxios/text_prepare_for_vectorizing in main.py lines 21 and 22 are the only changes I made. when it's "split by pages" is when I was getting multiples.
18 replies
CDCloudflare Developers
Created by Good Bob on 1/15/2024 in #vectorize
I'm using langchain and vectorize with
I don't think so. I was using a hashing function to create the ids. I hashed what came back and each repeat was identical. I deleted the first database thinking it was something on my end but it happened again.
18 replies