refac: naming convention

This commit is contained in:
Timothy J. Baek 2024-04-27 15:02:57 -04:00
parent 99a43cc998
commit 9be56d68e0
2 changed files with 6 additions and 6 deletions

View file

@ -164,7 +164,7 @@ def rag_template(template: str, context: str, query: str):
return template
def query_embeddings_function(
def get_embeddings_function(
embedding_engine,
embedding_model,
embedding_function,
@ -243,7 +243,7 @@ def rag_messages(
content_type = None
query = ""
embeddings_function = query_embeddings_function(
embeddings_function = get_embeddings_function(
embedding_engine,
embedding_model,
embedding_function,