Yevhenii TS,React,Next js
Yevhenii TS,React,Next js
CCConvex Community
Created by Yevhenii TS,React,Next js on 8/18/2024 in #show-and-tell
Big brain App - use for chating with Documents
No description
8 replies
CCConvex Community
Created by Yevhenii TS,React,Next js on 8/2/2024 in #support-community
How to return id from db in my case
i use this code for write embeddings in my database:
const res = await ConvexVectorStore.fromDocuments(splitDocs, embeddings, { ctx });
const res = await ConvexVectorStore.fromDocuments(splitDocs, embeddings, { ctx });
Logic my app is - get id some embedding and pass it in Langchain context . But i need get id its embeddings from db - variable res don`t give me this info. How to do this?
1 replies
CCConvex Community
Created by Yevhenii TS,React,Next js on 8/1/2024 in #support-community
I need help with convex+langchain
I use convex and langchain to create my rag application. In my case i need add to context specific data from my db - logic my application is serching some embeddings by id from my vectoredb then i use its embeddings for generate answer - but if i just add to context from RunnableSequence my embeddings i need use some format or embeddings are enough for this? I dont find this sample in langchain documentation
1 replies
CCConvex Community
Created by Yevhenii TS,React,Next js on 7/30/2024 in #support-community
where get ConvexVectorStore?
I'm working on a rag project. The point is that to retrieve data from a vector database, you need to use the
const vectorStore = await ConvexVectorStore.fromDocuments(
splitDocs,
embeddings,
{ ctx }
);
const vectorStore = await ConvexVectorStore.fromDocuments(
splitDocs,
embeddings,
{ ctx }
);
method, which writes data to the vector database and retrieves data about the database from the type
ConvexVectoreStore <all type for my databases>
ConvexVectoreStore <all type for my databases>
. Now this variable need in another place in my project. It is possible to generate or maybe somewhere to take object with this type
ConvexVectoreStore <type for my database>
ConvexVectoreStore <type for my database>
?
2 replies
CCConvex Community
Created by Yevhenii TS,React,Next js on 7/25/2024 in #support-community
util/convex is not exported by package "langchain"
I have this error. I use tutorial for some llm staff. i need create in folder convex - folder langchain and write this code
export * from "langchain/util/convex";
export * from "langchain/util/convex";
but i have problem - Cannot find module 'langchain/util/convex' or its corresponding type declarations.ts(2307)
33 replies