mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-22 10:10:47 +00:00
upgraded bindings signature
This commit is contained in:
parent
8d6301b2c1
commit
0ad4bb06ba
@ -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
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user