Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Feat Text Embedding #175

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Feat Text Embedding #175

wants to merge 12 commits into from

Conversation

H0llyW00dzZ
Copy link
Owner

Note

Still WIP LOL

Copy link

github-actions bot commented Dec 3, 2023

CodeQL analysis is complete for PR #175

- [+] feat(text-embedding.ts): add textEmbedding function to handle text embedding requests
- [+] chore(constant.ts): add EmbeddingPath constant for text embedding feature (work in progress)
- [+] feat(text-embedding.ts): add support for reading CSV file, parsing it, and getting embeddings
- [+] chore(package.json): add @types/papaparse dependency
- [+] chore(yarn.lock): update @types/papaparse to version 5.3.14
- [+] feat(text-embedding.ts): add support for specifying model in textEmbedding function
- [+] feat(text-embedding.ts): refactor getTextEmbeddingsFromCSV to use textEmbedding function for getting embeddings
- [+] refactor(text-embedding.ts): update comment to clarify that embeddings are obtained using textEmbedding function
- [+] feat(text-embedding.ts): add support for getting provider from state
- [+] fix(text-embedding.ts): change error messages to use localized strings
- [+] fix(text-embedding.ts): change error messages to include provider information
- [+] fix(text-embedding.ts): change error messages for CSV parsing and reading errors to use localized strings
- [+] chore(text-embedding.ts): chore code comment about Python being slow
- [+] fix(text-embedding.ts): improve error handling in getTextEmbeddingsFromCSV function
- [+] fix(cn.ts): update FileReader error message to include file name
- [+] fix(en.ts): update FileReader error message to include file name
- [+] fix(id.ts): update FileReader error message to include file name
- [+] feat(openai.ts): add text embedding functionality and import necessary functions from text-embedding.ts
- [+] chore(locales): add missing translation for error messages in cn, en, and id locales
- [+] chore(text-embedding.ts): rename file from textEmbedding.ts to text-embedding.ts
- [+] docs(text-embedding.ts): add author information for CsvRow interface
- [+] feat(text-embedding.ts): add function to embed input texts using specified model
- [+] feat(text-embedding.ts): add function to read CSV file and retrieve text embeddings
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant