Questions tagged [deeplake]
3 questions
1
vote
1 answer
LangChain: Reduce size of tokens being passed to OpenAI
I am using LangChain to create embeddings and then ask a question to those embeddings like so:
embeddings: OpenAIEmbeddings = OpenAIEmbeddings(disallowed_special=())
db = DeepLake(
dataset_path=deeplake_url,
read_only=True,
…

Patrick Collins
- 5,621
- 3
- 26
- 64
0
votes
0 answers
How do I see what documents are stored in my Deep Lake dataset?
I'm trying to periodically update my Deep Lake dataset when I get new documents, but I don't want to upload duplicate documents. I'm using the Python API
def combine_piazza_docs(directory, filter, split=False):
loader =…

Eastman
- 3
- 3
0
votes
1 answer
LangChain embedding tensor error making embedding question
I have used DeepLake and LangChain to make embeddings. I am looking to ask a question based on the embeddings. A simple one like:
Are their any randomness errors that can happen in solidity?
To do this, I'm working with the following python…

Patrick Collins
- 5,621
- 3
- 26
- 64