Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 8, 2024
1 parent 1ade447 commit ada3f6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
3 changes: 2 additions & 1 deletion src/dokumetry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
__init__ module for dokumetry package.
"""

from openai import AsyncOpenAI, OpenAI

from .openai import init as init_openai
from .async_openai import init as init_async_openai
from .anthropic import init as init_anthropic
from .cohere import init as init_cohere
from openai import AsyncOpenAI, OpenAI

# pylint: disable=too-few-public-methods
class DokuConfig:
Expand Down
17 changes: 6 additions & 11 deletions src/dokumetry/async_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ async def patched_embeddings_create(*args, **kwargs):
"totalTokens": response.usage.total_tokens
}

print(data)
#send_data(data, doku_url, api_key)
send_data(data, doku_url, api_key)

return response

Expand Down Expand Up @@ -308,8 +307,7 @@ async def patched_fine_tuning_create(*args, **kwargs):
"finetuneJobStatus": response.status,
}

print(data)
#send_data(data, doku_url, api_key)
send_data(data, doku_url, api_key)

return response

Expand Down Expand Up @@ -363,8 +361,7 @@ async def patched_image_create(*args, **kwargs):
"image": getattr(items, image)
}

print(data)
#send_data(data, doku_url, api_key)
send_data(data, doku_url, api_key)

return response

Expand Down Expand Up @@ -412,8 +409,7 @@ async def patched_image_create_variation(*args, **kwargs):
"image": getattr(items, image)
}

print(data)
#send_data(data, doku_url, api_key)
send_data(data, doku_url, api_key)

return response

Expand Down Expand Up @@ -448,9 +444,8 @@ async def patched_audio_speech_create(*args, **kwargs):
"prompt": prompt,
"audioVoice": voice,
}

print(data)
#send_data(data, doku_url, api_key)

send_data(data, doku_url, api_key)

return response

Expand Down

0 comments on commit ada3f6b

Please sign in to comment.