# Looking for a hybrid search example in TypeScript or JavaScript

**URL:** <https://community.pinecone.io/t/looking-for-a-hybrid-search-example-in-typescript-or-javascript/6844>\
**Category:** Support\
**Tags:** semantic-search, vector-database, serverless\
**Created:** [October 26, 2024, 11:06pm UTC](https://community.pinecone.io/t/looking-for-a-hybrid-search-example-in-typescript-or-javascript/6844 "2024-10-26T23:06:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gab](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/gab/32/3402_2.png) [@gab](https://community.pinecone.io/u/gab)\
**Post date:** [October 26, 2024, 11:06pm UTC](https://community.pinecone.io/t/looking-for-a-hybrid-search-example-in-typescript-or-javascript/6844/1 "2024-10-26T23:06:48Z")

</div>

Hello guys,

I’m simply looking for a hybrid search example in TypeScript or JavaScript. What I think I’m simply missing is a way to generate the sparseValues to insert in the record.

Do I simply need a library? If so, any suggestions?

 ![Screenshot 2024-10-26 at 19.03.27](https://us1.discourse-cdn.com/flex020/uploads/pinecone/original/2X/3/34aa1addc6500a76d70084260bf857bf5fc422e5.png)

---

<div class="post-metadata">

**Author:** ![bear](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/bear/32/1488_2.png) [@bear](https://community.pinecone.io/u/bear)\
**Post date:** [November 15, 2024, 7:08pm UTC](https://community.pinecone.io/t/looking-for-a-hybrid-search-example-in-typescript-or-javascript/6844/2 "2024-11-15T19:08:10Z")

</div>

As far as I know, there isn’t great TS/JS library support for generating sparse embeddings, e.g. with SPLADE or BGE-M3. Is it possible for you to write most of your application code in TS, but with some bridge scripting in Python for your data pipeline?

---

<div class="post-metadata">

**Author:** ![gab](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/gab/32/3402_2.png) [@gab](https://community.pinecone.io/u/gab)\
**Post date:** [December 9, 2024, 1:02pm UTC](https://community.pinecone.io/t/looking-for-a-hybrid-search-example-in-typescript-or-javascript/6844/3 "2024-12-09T13:02:35Z")

</div>

Thank you for your answer. And sorry for my late reply. 😉
