2026-07-07 05:13:49 +07:00
|
|
|
import config, lib.ragroleplay as ragroleplay
|
|
|
|
|
text = "Saya lupa password"
|
|
|
|
|
vector = ragroleplay.embed_text(config.model_url, config.model_name, text)
|
2026-07-02 15:20:55 +07:00
|
|
|
print("Text:")
|
|
|
|
|
print(text)
|
|
|
|
|
print("Vector:")
|
|
|
|
|
print(str(vector))
|