Comments (3)
Thanks for bringing this up as an issue! +1
This would be an extremely valuable contribution to optimize for domain-specific use cases at scale, which is important when you're planning to have a high volume of queries. I would personally use this.
Here's one startup's feedback on why they decided to use custom embeddings: https://www.buildt.ai/blog/viral-ripout
from langchainjs.
Thanks, @rikuthinks ! Yes, I also highly recommend the Built blog post by @ Pullerz, I had included it in Recommended Reading
above along with others I wrote/read -- check them out.
I'm hoping to find some time this or next week to contribute a Pull Request 🤞
from langchainjs.
Hi, @Glavin001! I'm here to help the LangChain team manage their backlog and I wanted to let you know that we are marking this issue as stale.
From what I understand, you opened this issue to discuss the need for helper utilities to use custom embeddings in a TypeScript application. The proposed solution involves customizing embeddings by multiplying the original embeddings with a custom matrix. It's great to see that rikuthinks and batmanscode have expressed their support for this idea, with rikuthinks mentioning the value of optimizing for domain-specific use cases. You thanked rikuthinks and mentioned your plan to contribute a pull request soon.
Before we mark this issue as stale, we wanted to check with you if this issue is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your contribution and we look forward to hearing from you soon!
Best,
LangChain Team
from langchainjs.
Related Issues (20)
- Some tools cannot be used, when you cannot bypass the LLM HOT 1
- unable to find callkeys HOT 2
- parseResult on OpenAIFunctionsAgentOutputParser only works on ChatGeneration output HOT 5
- JSON Parsing Error with Mistral Azure using tools and chain HOT 2
- Langchain Redis integration library has not been package/built despite changes being made HOT 2
- Single-Step Tool Use (Function Calling) not working With Cohere HOT 3
- Docs refactor/parity with LangChain Python docs
- Google Gemini + DynamoDB chat memory fails by getting an empty string chunk HOT 2
- LLMGraphTransformer.convertToGraphDocuments function fails sometimes when prompt chain to fetch nodes and relationships returns null or missing data HOT 1
- Astra DB - collection bug HOT 11
- Cannot read properties of undefined (reading 'replace') at OpenAIEmbeddings.embedQuery HOT 3
- MistralAI - 422 Extra inputs are not permitted HOT 2
- Error: Cannot read properties of undefined (reading 'embedDocuments') HOT 2
- keepSeparator doesn't work with RecursiveCharacterTextSplitter HOT 4
- Error : Cannot get final name for export 'getRuntime' of ./node_modules/openai/_shims/auto/runtime-node.mjs HOT 3
- Could not import faiss-node. Please install as a dependency with npm install -S faiss-node HOT 1
- run with Deno with "Relative import path" error HOT 1
- LangSmith "Criteria()" and "LabeledCriteria()" do not accept custom criteria in TypeScript, despite examples HOT 5
- Unable to use non-Gemini models through ChatVertexAI HOT 2
- TypeError: Converting circular structure to JSON when enabling LangSmith HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchainjs.