Update max_token and formatting (#2273)
This commit is contained in:
@@ -17,7 +17,7 @@ class TogetherEmbedding(EmbeddingBase):
|
||||
self.config.embedding_dims = self.config.embedding_dims or 768
|
||||
self.client = Together(api_key=api_key)
|
||||
|
||||
def embed(self, text, memory_action:Optional[Literal["add", "search", "update"]] = None):
|
||||
def embed(self, text, memory_action: Optional[Literal["add", "search", "update"]] = None):
|
||||
"""
|
||||
Get the embedding for the given text using OpenAI.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user