Commit graph

87 commits

Author SHA1 Message Date
Dallin Romney
c5e1e97b27 clear webview 2024-10-29 12:54:36 -07:00
mq200
c570c0fa30 add watsonx embeddings and more 2024-10-25 15:40:16 -07:00
Patrick Erichsen
78f950cd9b
Merge pull request #2478 from Anantha-Kandrapu/bedrock-cohere-embeddings
Added Bedrock Cohere Embeddings Provider
2024-10-24 12:16:25 -07:00
Nate Sesti
46d63245a1
Merge pull request #2594 from lindgrenj6/ollama_respect_max_chunk_size
feat: ollama emedding provider: respect maxBatchSize configuration option
2024-10-22 11:55:04 -07:00
Luke Lashley
e48aa5420f Add vertexai embedding option 2024-10-22 14:27:49 -04:00
Jacob Lindgren
97a5015b6f
ollama emedding provider: respect maxBatchSize configuration option 2024-10-20 21:44:24 -05:00
Anantha Kandrapu
8a91bf135b
Merge branch 'dev' into bedrock-cohere-embeddings 2024-10-19 20:10:45 -07:00
Anantha Kandrapu
fd7326f5e0
Merge branch 'continuedev:main' into bedrock-cohere-embeddings 2024-10-19 20:09:30 -07:00
Anantha Kandrapu
dac28f939b Added Cohere embeddings with bedrock provider 2024-10-18 23:44:46 -07:00
Nate
958336c42e Merge branch 'main' into dev 2024-10-15 23:02:44 -07:00
Nate
7e5f8aa4d8 hotfix: throttle transformers.js embeddings provider 2024-10-15 23:00:43 -07:00
Nate
2eba3825fb clean up URLs 2024-10-15 12:00:05 -07:00
kbreese-x
0f018ec18d Add support for sagemaker as an embeddings model provider 2024-10-04 13:14:20 -07:00
chezsmithy
928e73d5d3 fix-aws-expired-profile 2024-09-17 20:46:40 -07:00
Nate
60d52fe1de Merge branch 'dev' into nate/control-plane-types 2024-09-15 12:01:52 -07:00
Test
17c96acbac merge dev 2024-09-14 11:55:53 -07:00
Nate Sesti
58b7427bc7
Merge branch 'dev' into embed-add-maxBatchSize-option 2024-09-14 00:26:36 -07:00
adarshdotexe
c594ac1d35 adding NvidiaEmbeddingsProvider 2024-09-11 10:21:28 +05:30
Nate Sesti
5bf9c6c9c0
Merge pull request #2213 from chezsmithy/fix-bedrock-embeddings
Fix-bedrock-embeddings
2024-09-09 20:41:58 -07:00
Nate
07853463c8 allow apiKey in OllamaEmbeddingsProvider 2024-09-09 20:38:00 -07:00
Nate
88e2050b0a update embeddings providers 2024-09-09 19:45:46 -07:00
chezsmithy
b009156a1d fix-bedrock-embeddings 2024-09-08 21:45:51 -07:00
Nate
c234cbe107 client changes for on prem proxy 2024-09-04 19:44:32 -07:00
Nate Sesti
1614588388
Merge branch 'dev' into feat-bedrock-embeddings 2024-09-04 15:16:50 -07:00
Nate
0558533986 update GeminiEmbeddingsProvider maxBatchSize 2024-09-04 14:49:42 -07:00
YouJiacheng
7d6a2e325f
Add maxBatchSize option for EmbeddingsProvider
+ fix a bug in getBatchedChunks: `if (chunks.length > this.maxBatchSize) return [chunks]` causes chunks will never be spilt into multiple batches. Originally only Gemini uses it, and its `maxBatchSize` is 2048, so no problem in the most of cases.
+ consolidate duplicated code implementing `getBatchedChunks` logic in` CohereEmbeddingsProvider`, `FreeTrialEmbeddingsProvider`, `HuggingFaceTEIEmbeddingsProvider` and `OpenAIEmbeddingsProvider`. `TransformersJsEmbeddingsProvider` has identical logic, but its property is called `maxGroupSize`.
2024-09-04 04:15:17 +08:00
chezsmithy
6998759970 feat-bedrock-embeddings 2024-08-30 09:49:02 -07:00
Nate
afb099004b update to new ollama embeddings api format 2024-08-28 21:49:47 -07:00
Nate
d1a2028f61 voyage embeddings provider 2024-08-28 13:34:20 -07:00
Patrick Erichsen
c818e2d44b remove unneeded eslint ignores 2024-08-16 10:42:12 -07:00
Nate Sesti
051b5a6795 remove hardcoding of MAX_CHUNK_SIZE 2024-08-10 23:32:21 -04:00
Nate Sesti
182f87a27c use batch endpoint for gemini embeddigns provider 2024-08-05 11:35:40 -04:00
Patrick Erichsen
d7dbdfff48
feat: configure docs through config.json (#1864)
* feat: configure docs through config.json

* use correct baseUrl column

* add/remove docs through config.json

* add favicon

* add advanced section in form

* update package authors

* index all using sqlite

* use pre indexed doc

* refresh submenu on save

* setup tests

* stash apply

* update tests

* create singleton

* remove unused code

* fix migration err

* remove unused code

* bugfix: isPreindexedDoc
2024-08-01 16:56:27 -07:00
Nate Sesti
8fed0cb985
Convert core/ to NodeNext (#1877)
* convert to nodenext in core

* experimental vm modules

* use imports

* a few ts-ignores

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-07-30 19:04:30 -07:00
Simo
841294d15f
fix: missing Content-Type header in OllamaEmbeddingsProvider (#1855) 2024-07-28 18:40:01 -07:00
Nate Sesti
ff821ff159
OpenAI Adapters (#1859)
* embeddings support in openai-adapters

* rerank support in openai-adapters

* cohere embed/rerank

* continue-proxy reranker and embeddings providers

* test for openai-adapters

* embeddings provider and reranker for continue proxy
2024-07-28 18:22:37 -07:00
Patrick Erichsen
3e0fae35a7
feat: include recently + open files in codebase search (#1833)
* feat: include recently + open files in codebase search

* cleanup

* Update BaseRetrievalPipeline.ts

* add params object to chunkDocument

* Update package-lock.json
2024-07-26 12:40:52 -05:00
Patrick Erichsen
7cb15acfe2
Update OllamaEmbeddingsProvider.ts (#1839) 2024-07-26 10:43:24 -05:00
Lukas Kreussel
521669074e
Configurable maxChunkSize for embedding providers (#1746)
* Add `maxChunkSize` to `EmbeddingsProvider`

* Add `maxChunkSize` to schema
2024-07-16 09:05:19 -07:00
Nate Sesti
e5393c76d0 add necessary filter to lance_db_cache 2024-07-05 23:18:11 -07:00
Rob Leidle
57af4d03cf
Add support for the HuggingFace Text Embeddings Inference server (#1657)
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-03 23:50:04 -07:00
Nate Sesti
2d892fab7d Nate/indexing fixes (#1642)
* fix pausing of indexing

* don't send empty array to openai embeddings

* catch embeddings errors without stopping entire indexing process
2024-07-02 18:40:21 -07:00
Nate Sesti
932a51bf44 fix free trial embeddings error 2024-07-02 18:40:21 -07:00
Nate Sesti
a60a8d5701 ✏️ fix typo 2024-06-27 08:25:19 -07:00
Andrij David
02784804ab
Add support for Azure OpenAI Endpoint in OpenAIEmbeddingProvider (#1517) 2024-06-27 08:24:06 -07:00
Nate Sesti
6c6c6d51d1 🐛 a few jetbrains fixes 2024-06-13 21:10:58 -07:00
Nate Sesti
7d2b633cdb 🐛 fix embeddings vector size mismatch bug 2024-06-07 21:29:01 -07:00
Nate Sesti
463660d868 ✏️ model name typo 2024-06-06 17:33:09 -07:00
Nate Sesti
66b65f7528 exponential backoff if embedding is empty 2024-06-06 15:26:19 -07:00
Patrick Erichsen
5224572408
feat(embeddings): add gemini provider (#1362)
* docs(walkthroughs): use correct table name for 'tag_catalog'

* feat(embeddings): add gemini

* duplicate code deletion

* docs(contributing): update incorrect instructions

* revert eslint changes

* docs(embeddings): use correct gemini model name

* Delete package.json
2024-06-04 16:14:16 -07:00