module documentation
Undocumented
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Async Function | chunk |
Undocumented |
| Async Function | embed |
Undocumented |
| Async Function | make |
Undocumented |
| Function | write |
Creates a .jsonl file for batch processing, with each line being a request to the embeddings API. |
| Variable | logger |
Undocumented |
async def chunk_batch_embedding_request(texts:
list[ str], model: str, client: AsyncClient) -> pl.DataFrame:
(source)
¶
Undocumented
async def embed_texts(texts:
list[ str], model: str, skip_if_n_chunks: int | None, client: AsyncClient) -> list[ list[ float]] | str:
(source)
¶
Undocumented
async def make_batch_embedding_request(texts:
list[ str], model: str, client: AsyncClient) -> pl.DataFrame:
(source)
¶
Undocumented