Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
06386a64
Unverified
Commit
06386a64
authored
Nov 01, 2024
by
Cyrus Leung
Committed by
GitHub
Nov 01, 2024
Browse files
[Frontend] Chat-based Embeddings API (#9759)
parent
d3aa2a8b
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/pooling_params.py
vllm/pooling_params.py
+2
-2
No files found.
vllm/pooling_params.py
View file @
06386a64
...
...
@@ -7,7 +7,7 @@ class PoolingParams(
msgspec
.
Struct
,
omit_defaults
=
True
,
# type: ignore[call-arg]
array_like
=
True
):
# type: ignore[call-arg]
"""Pooling parameters for
pooling
.
"""Pooling parameters for
embeddings API
.
Attributes:
additional_data: Any additional data needed for pooling.
...
...
@@ -16,7 +16,7 @@ class PoolingParams(
def
clone
(
self
)
->
"PoolingParams"
:
"""Returns a deep copy of the PoolingParams instance."""
return
PoolingParams
(
additional_data
=
self
.
additional_data
,
)
return
PoolingParams
(
additional_data
=
self
.
additional_data
)
def
__repr__
(
self
)
->
str
:
return
(
f
"PoolingParams("
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment