upgraded bindings signature

This commit is contained in:
Saifeddine ALOUI 2023-06-30 19:07:33 +02:00
parent 8d6301b2c1
commit 0ad4bb06ba

View File

@ -211,6 +211,17 @@ class LLMBinding:
"""
return " ".join(tokens_list)
def embed(self, text):
"""
Computes text embedding
Args:
text (str): The text to be embedded.
Returns:
List[float]
"""
pass
def list_models(self, config:dict):
"""Lists the models for this binding
"""