kotaemon/tests
Nguyen Trung Duc (john) c339912312 [AUR-389] Add base interface and embedding model (#17)
This change provides the base interface of an embedding, and wrap the Langchain's OpenAI embedding. Usage as follow:

```python
from kotaemon.embeddings import AzureOpenAIEmbeddings

model = AzureOpenAIEmbeddings(
    model="text-embedding-ada-002",
    deployment="embedding-deployment",
    openai_api_base="https://test.openai.azure.com/",
    openai_api_key="some-key",
)
output = model("Hello world")
```
2023-09-14 14:08:58 +07:00
..
resources [AUR-389] Add base interface and embedding model (#17) 2023-09-14 14:08:58 +07:00
__init__.py Initiate repository 2023-08-16 14:56:48 +07:00
test_embedding_models.py [AUR-389] Add base interface and embedding model (#17) 2023-09-14 14:08:58 +07:00
test_llms_chat_models.py [AUR-361] Setup pre-commit, pytest, GitHub actions, ssh-secret (#3) 2023-08-30 07:22:01 +07:00
test_llms_completion_models.py [AUR-361] Setup pre-commit, pytest, GitHub actions, ssh-secret (#3) 2023-08-30 07:22:01 +07:00
test_reader.py [AUR-391, AUR-393] Add Document and DocumentReader base (#6) 2023-08-31 11:24:12 +07:00
test_telemetry.py [AUR-361] Setup pre-commit, pytest, GitHub actions, ssh-secret (#3) 2023-08-30 07:22:01 +07:00