aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/inference.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add support for embeddings in the inference interface (#403)Mohammed Farghal2024-12-291-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support embeddings generation in inference.ts (cherry picked from commit 9ae8773ad13ed87af8f72f167bdd56e02ea66f15) * make AI worker generate embeddings for text bookmark * make AI worker generate embeddings for text bookmark * fix unintentional change -- inference image model * support embeddings for PDF bookmarks * Upgrade drizzle-kit Existing version is not working with the upgraded version of drizzle-orm. I removed the "driver" to the match the new schema of the Config. Quoting from their Config: * `driver` - optional param that is responsible for explicitly providing a driver to use when accessing a database * *Possible values*: `aws-data-api`, `d1-http`, `expo`, `turso`, `pglite` * If you don't use AWS Data API, D1, Turso or Expo - ypu don't need this driver. You can check a driver strategy choice here: https://orm. * fix formatting and lint * add comments about truncate content * Revert "Upgrade drizzle-kit" This reverts commit 08a02c8df4ea403de65986ed1265940c6c994a20. * revert keep alive field in Ollama * change the interface to accept multiple inputs * docs --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* docs: fix typo in inference.ts (#640)Ikko Eltociear Ashimine2024-11-171-1/+1
| | | successfull -> successful
* feature: Add a summarize with AI button for linksMohamed Bassem2024-10-271-8/+39
|
* refactor: Move inference to the shared packageMohamed Bassem2024-10-261-0/+155