Questions tagged [activeloop]
2 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
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