Skip to content

Commit

Permalink
fix(dspy): fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
efenocchi committed Jun 18, 2024
1 parent f0d4e13 commit 386aa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspy/retrieve/deeplake_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def embedding_function(self, texts, model="text-embedding-ada-002"):
return [data.embedding for data in openai.embeddings.create(input = texts, model=model).data]

def forward(
self, query_or_queries: Union[str, List[str]], k: Optional[int],**kwargs
self, query_or_queries: Union[str, List[str]], k: Optional[int],**kwargs,
) -> dspy.Prediction:

"""Search with DeepLake for self.k top passages for query
Expand Down

0 comments on commit 386aa53

Please sign in to comment.