Skip to content

Commit

Permalink
Update cohere-openapi.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Michael <[email protected]>
  • Loading branch information
mkozakov authored Oct 25, 2024
1 parent a0dbfa6 commit 9f38a9a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8129,7 +8129,9 @@ paths:


response = co.embed(
texts=["hello", "goodbye"], model="embed-english-v3.0", input_type="classification"
model="embed-english-v3.0",
texts=["hello", "goodbye"],
input_type="classification"
)

print(response)
Expand All @@ -8147,7 +8149,9 @@ paths:

async def main():
response = await co.embed(
texts=["hello", "goodbye"], model="embed-english-v3.0", input_type="classification"
model="embed-english-v3.0",
texts=["hello", "goodbye"],
input_type="classification"
)
print(response)

Expand Down Expand Up @@ -12963,7 +12967,10 @@ paths:


response = co.embed(
texts=["hello", "goodbye"], model="embed-english-v3.0", input_type="classification", embedding_types=["float"]
model="embed-english-v3.0",
texts=["hello", "goodbye"],
input_type="classification",
embedding_types=["float"]
)

print(response)
Expand All @@ -12981,7 +12988,9 @@ paths:

async def main():
response = await co.embed(
texts=["hello", "goodbye"], model="embed-english-v3.0", input_type="classification"
model="embed-english-v3.0",
texts=["hello", "goodbye"],
input_type="classification"
)
print(response)

Expand Down

0 comments on commit 9f38a9a

Please sign in to comment.