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

Skipped printing config details at the startup #159

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

shreyas-damle
Copy link
Collaborator

Output without custom config.yaml:

pebblo git:(shreyas-log-change) ✗ pebblo
Downloading topic, entity classifier models ...
Initializing topic classifier ...
Initializing topic classifier ... done
Initializing entity classifier ...
Initializing entity classifier ... done
Pebblo server starting ...
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:13<00:00,  1.37s/it]
INFO:     Started server process [99401]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
INFO:     App Discover Request Processed Successfully
INFO:     ::1:56418 - "POST /v1/app/discover HTTP/1.1" 200 OK
INFO:     PDF report generated at : /Users/shreyasdamle/.pebblo/Shreyas14FebCsvLoaderApp001/pebblo_report.pdf
INFO:     Loader Doc request Request processed successfully.
INFO:     ::1:56419 - "POST /v1/loader/doc HTTP/1.1" 200 OK
^CINFO:     Shutting down
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
INFO:     Finished server process [99401]
Pebblo server Stopped. BYE!

Output with custom config.yaml:

 pebblo git:(shreyas-log-change) ✗ pebblo --config pebblo/app/config/config.yaml
Downloading topic, entity classifier models ...
Initializing topic classifier ...
Initializing topic classifier ... done
Initializing entity classifier ...
Initializing entity classifier ... done
Pebblo server starting ...
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:02<00:00,  3.89it/s]
INFO:     Started server process [99531]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
DEBUG:    AI_APP [Shreyas14FebCsvLoaderApp001]: Input Data: {'name': 'Shreyas14FebCsvLoaderApp001', 'owner': 'Shreyas Damle', 'description': '', 'load_id': '33c94af7-8559-4b6c-bdd3-9f23db74cbd0', 'runtime': {'type': 'desktop', 'host': 'OPLPT012.local', 'path': '/Users/shreyasdamle/work/cloud_defense/rag_apps/openginie_csv', 'ip': '127.0.0.1', 'platform': 'macOS-14.3.1-arm64-arm-64bit', 'os': 'Darwin', 'os_version': 'Darwin Kernel Version 23.3.0: Wed Dec 20 21:33:31 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8112', 'language': 'python', 'language_version': '3.11.7', 'runtime': 'Mac OSX'}, 'framework': {'name': 'langchain', 'version': '0.1.23'}, 'plugin_version': '0.1.0'}
DEBUG:    JSON data written successfully to: /Users/shreyasdamle/.pebblo/Shreyas14FebCsvLoaderApp001//metadata/metadata.json
DEBUG:    AI_APPS [Shreyas14FebCsvLoaderApp001]: Instance Details: {'type': 'desktop', 'host': 'OPLPT012.local', 'path': '/Users/shreyasdamle/work/cloud_defense/rag_apps/openginie_csv', 'runtime': 'Mac OSX', 'ip': '127.0.0.1', 'language': 'python', 'languageVersion': '3.11.7', 'platform': 'macOS-14.3.1-arm64-arm-64bit', 'os': 'Darwin', 'osVersion': 'Darwin Kernel Version 23.3.0: Wed Dec 20 21:33:31 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8112', 'createdAt': datetime.datetime(2024, 2, 15, 11, 47, 33, 855440)}
DEBUG:    Final Output For Discovery Call: {'metadata': {'createdAt': datetime.datetime(2024, 2, 15, 11, 47, 36, 986001), 'modifiedAt': datetime.datetime(2024, 2, 15, 11, 47, 36, 986001)}, 'name': 'Shreyas14FebCsvLoaderApp001', 'description': '', 'owner': 'Shreyas Damle', 'pluginVersion': '0.1.0', 'instanceDetails': {'type': 'desktop', 'host': 'OPLPT012.local', 'path': '/Users/shreyasdamle/work/cloud_defense/rag_apps/openginie_csv', 'runtime': 'Mac OSX', 'ip': '127.0.0.1', 'language': 'python', 'languageVersion': '3.11.7', 'platform': 'macOS-14.3.1-arm64-arm-64bit', 'os': 'Darwin', 'osVersion': 'Darwin Kernel Version 23.3.0: Wed Dec 20 21:33:31 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8112', 'createdAt': datetime.datetime(2024, 2, 15, 11, 47, 33, 855440)}, 'framework': {'name': 'langchain', 'version': '0.1.23'}, 'lastUsed': datetime.datetime(2024, 2, 15, 11, 47, 36, 985998)}
DEBUG:    JSON data written successfully to: /Users/shreyasdamle/.pebblo/Shreyas14FebCsvLoaderApp001/33c94af7-8559-4b6c-bdd3-9f23db74cbd0//metadata/metadata.json
INFO:     App Discover Request Processed Successfully
INFO:     ::1:56478 - "POST /v1/app/discover HTTP/1.1" 200 OK

@shreyas-damle shreyas-damle merged commit 0c1106f into daxa-ai:main Feb 15, 2024
4 checks passed
@shreyas-damle shreyas-damle deleted the shreyas-log-change branch February 15, 2024 12:56
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.

2 participants