Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FS-182355]: Implement logging and use v2 #11

Merged
merged 20 commits into from
Sep 10, 2024
Merged

Conversation

kartik-ganesh
Copy link
Collaborator

No description provided.

@kartik-ganesh kartik-ganesh changed the title implement logging and use v2 [FS-182355]: Implement logging and use v2 Aug 22, 2024
libs/infinity_emb/infinity_emb/log_handler.py Outdated Show resolved Hide resolved
libs/infinity_emb/Dockerfile Outdated Show resolved Hide resolved
initialise content in log_handler
# Conflicts:
#	libs/infinity_emb/infinity_emb/log_handler.py
@@ -220,13 +225,13 @@ async def _embeddings(data: OpenAIEmbeddingInput):
if isinstance(data.input, str):
data.input = [data.input]

logger.debug("[📝] Received request with %s inputs ", len(data.input))
logger.info("[📝] Received request with %s inputs ", len(data.input))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the icon in logging?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have kept it unchanged from upstream. Do you foresee any issues due to this?

@kartik-ganesh kartik-ganesh merged commit 52e4739 into main Sep 10, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants