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

whitelist openai #2071

Merged
merged 5 commits into from
Jul 10, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
272 changes: 272 additions & 0 deletions src/databricks/labs/ucx/source_code/known.json
Original file line number Diff line number Diff line change
Expand Up @@ -7323,6 +7323,278 @@
"pydevd_plugins.extensions": [],
"pydevd_plugins.extensions.pydevd_plugin_omegaconf": []
},
"openai": {
JCZuurmond marked this conversation as resolved.
Show resolved Hide resolved
"openai": [],
"openai._base_client": [],
Copy link
Member

Choose a reason for hiding this comment

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

Do we keep the hidden modules?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nfx what do you think ?

"openai._client": [],
"openai._compat": [],
"openai._constants": [],
"openai._exceptions": [],
"openai._extras": [],
"openai._extras._common": [],
"openai._extras.numpy_proxy": [],
"openai._extras.pandas_proxy": [],
"openai._files": [],
"openai._legacy_response": [],
"openai._models": [],
"openai._module_client": [],
"openai._qs": [],
"openai._resource": [],
"openai._response": [],
"openai._streaming": [],
"openai._types": [],
"openai._utils": [],
"openai._utils._logs": [],
"openai._utils._proxy": [],
"openai._utils._reflection": [],
"openai._utils._streams": [],
"openai._utils._sync": [],
"openai._utils._transform": [],
"openai._utils._typing": [],
"openai._utils._utils": [],
"openai._version": [],
"openai.cli": [],
"openai.cli._api": [],
"openai.cli._api._main": [],
"openai.cli._api.audio": [],
"openai.cli._api.chat": [],
"openai.cli._api.chat.completions": [],
"openai.cli._api.completions": [],
"openai.cli._api.files": [],
"openai.cli._api.image": [],
"openai.cli._api.models": [],
"openai.cli._cli": [],
"openai.cli._errors": [],
"openai.cli._models": [],
"openai.cli._progress": [],
"openai.cli._tools": [],
"openai.cli._tools._main": [],
"openai.cli._tools.fine_tunes": [],
"openai.cli._tools.migrate": [],
"openai.cli._utils": [],
"openai.lib._old_api": [],
"openai.lib._validators": [],
"openai.lib.azure": [],
"openai.lib.streaming": [],
"openai.lib.streaming._assistants": [],
"openai.pagination": [],
"openai.resources": [],
"openai.resources.audio": [],
"openai.resources.audio.audio": [],
"openai.resources.audio.speech": [],
"openai.resources.audio.transcriptions": [],
"openai.resources.audio.translations": [],
"openai.resources.batches": [],
"openai.resources.beta": [],
"openai.resources.beta.assistants": [],
"openai.resources.beta.beta": [],
"openai.resources.beta.threads": [],
"openai.resources.beta.threads.messages": [],
"openai.resources.beta.threads.runs": [],
"openai.resources.beta.threads.runs.runs": [],
"openai.resources.beta.threads.runs.steps": [],
"openai.resources.beta.threads.threads": [],
"openai.resources.beta.vector_stores": [],
"openai.resources.beta.vector_stores.file_batches": [],
"openai.resources.beta.vector_stores.files": [],
"openai.resources.beta.vector_stores.vector_stores": [],
"openai.resources.chat": [],
"openai.resources.chat.chat": [],
"openai.resources.chat.completions": [],
"openai.resources.completions": [],
"openai.resources.embeddings": [],
"openai.resources.files": [],
"openai.resources.fine_tuning": [],
"openai.resources.fine_tuning.fine_tuning": [],
"openai.resources.fine_tuning.jobs": [],
"openai.resources.fine_tuning.jobs.checkpoints": [],
"openai.resources.fine_tuning.jobs.jobs": [],
"openai.resources.images": [],
"openai.resources.models": [],
"openai.resources.moderations": [],
"openai.types": [],
"openai.types.audio": [],
"openai.types.audio.speech_create_params": [],
"openai.types.audio.transcription": [],
"openai.types.audio.transcription_create_params": [],
"openai.types.audio.translation": [],
"openai.types.audio.translation_create_params": [],
"openai.types.batch": [],
"openai.types.batch_create_params": [],
"openai.types.batch_error": [],
"openai.types.batch_list_params": [],
"openai.types.batch_request_counts": [],
"openai.types.beta": [],
"openai.types.beta.assistant": [],
"openai.types.beta.assistant_create_params": [],
"openai.types.beta.assistant_deleted": [],
"openai.types.beta.assistant_list_params": [],
"openai.types.beta.assistant_response_format": [],
"openai.types.beta.assistant_response_format_option": [],
"openai.types.beta.assistant_response_format_option_param": [],
"openai.types.beta.assistant_response_format_param": [],
"openai.types.beta.assistant_stream_event": [],
"openai.types.beta.assistant_tool": [],
"openai.types.beta.assistant_tool_choice": [],
"openai.types.beta.assistant_tool_choice_function": [],
"openai.types.beta.assistant_tool_choice_function_param": [],
"openai.types.beta.assistant_tool_choice_option": [],
"openai.types.beta.assistant_tool_choice_option_param": [],
"openai.types.beta.assistant_tool_choice_param": [],
"openai.types.beta.assistant_tool_param": [],
"openai.types.beta.assistant_update_params": [],
"openai.types.beta.chat": [],
"openai.types.beta.code_interpreter_tool": [],
"openai.types.beta.code_interpreter_tool_param": [],
"openai.types.beta.file_search_tool": [],
"openai.types.beta.file_search_tool_param": [],
"openai.types.beta.function_tool": [],
"openai.types.beta.function_tool_param": [],
"openai.types.beta.thread": [],
"openai.types.beta.thread_create_and_run_params": [],
"openai.types.beta.thread_create_params": [],
"openai.types.beta.thread_deleted": [],
"openai.types.beta.thread_update_params": [],
"openai.types.beta.threads": [],
"openai.types.beta.threads.annotation": [],
"openai.types.beta.threads.annotation_delta": [],
"openai.types.beta.threads.file_citation_annotation": [],
"openai.types.beta.threads.file_citation_delta_annotation": [],
"openai.types.beta.threads.file_path_annotation": [],
"openai.types.beta.threads.file_path_delta_annotation": [],
"openai.types.beta.threads.image_file": [],
"openai.types.beta.threads.image_file_content_block": [],
"openai.types.beta.threads.image_file_content_block_param": [],
"openai.types.beta.threads.image_file_delta": [],
"openai.types.beta.threads.image_file_delta_block": [],
"openai.types.beta.threads.image_file_param": [],
"openai.types.beta.threads.image_url": [],
"openai.types.beta.threads.image_url_content_block": [],
"openai.types.beta.threads.image_url_content_block_param": [],
"openai.types.beta.threads.image_url_delta": [],
"openai.types.beta.threads.image_url_delta_block": [],
"openai.types.beta.threads.image_url_param": [],
"openai.types.beta.threads.message": [],
"openai.types.beta.threads.message_content": [],
"openai.types.beta.threads.message_content_delta": [],
"openai.types.beta.threads.message_content_part_param": [],
"openai.types.beta.threads.message_create_params": [],
"openai.types.beta.threads.message_deleted": [],
"openai.types.beta.threads.message_delta": [],
"openai.types.beta.threads.message_delta_event": [],
"openai.types.beta.threads.message_list_params": [],
"openai.types.beta.threads.message_update_params": [],
"openai.types.beta.threads.required_action_function_tool_call": [],
"openai.types.beta.threads.run": [],
"openai.types.beta.threads.run_create_params": [],
"openai.types.beta.threads.run_list_params": [],
"openai.types.beta.threads.run_status": [],
"openai.types.beta.threads.run_submit_tool_outputs_params": [],
"openai.types.beta.threads.run_update_params": [],
"openai.types.beta.threads.runs": [],
"openai.types.beta.threads.runs.code_interpreter_logs": [],
"openai.types.beta.threads.runs.code_interpreter_output_image": [],
"openai.types.beta.threads.runs.code_interpreter_tool_call": [],
"openai.types.beta.threads.runs.code_interpreter_tool_call_delta": [],
"openai.types.beta.threads.runs.file_search_tool_call": [],
"openai.types.beta.threads.runs.file_search_tool_call_delta": [],
"openai.types.beta.threads.runs.function_tool_call": [],
"openai.types.beta.threads.runs.function_tool_call_delta": [],
"openai.types.beta.threads.runs.message_creation_step_details": [],
"openai.types.beta.threads.runs.run_step": [],
"openai.types.beta.threads.runs.run_step_delta": [],
"openai.types.beta.threads.runs.run_step_delta_event": [],
"openai.types.beta.threads.runs.run_step_delta_message_delta": [],
"openai.types.beta.threads.runs.step_list_params": [],
"openai.types.beta.threads.runs.tool_call": [],
"openai.types.beta.threads.runs.tool_call_delta": [],
"openai.types.beta.threads.runs.tool_call_delta_object": [],
"openai.types.beta.threads.runs.tool_calls_step_details": [],
"openai.types.beta.threads.text": [],
"openai.types.beta.threads.text_content_block": [],
"openai.types.beta.threads.text_content_block_param": [],
"openai.types.beta.threads.text_delta": [],
"openai.types.beta.threads.text_delta_block": [],
"openai.types.beta.vector_store": [],
"openai.types.beta.vector_store_create_params": [],
"openai.types.beta.vector_store_deleted": [],
"openai.types.beta.vector_store_list_params": [],
"openai.types.beta.vector_store_update_params": [],
"openai.types.beta.vector_stores": [],
"openai.types.beta.vector_stores.file_batch_create_params": [],
"openai.types.beta.vector_stores.file_batch_list_files_params": [],
"openai.types.beta.vector_stores.file_create_params": [],
"openai.types.beta.vector_stores.file_list_params": [],
"openai.types.beta.vector_stores.vector_store_file": [],
"openai.types.beta.vector_stores.vector_store_file_batch": [],
"openai.types.beta.vector_stores.vector_store_file_deleted": [],
"openai.types.chat": [],
"openai.types.chat.chat_completion": [],
"openai.types.chat.chat_completion_assistant_message_param": [],
"openai.types.chat.chat_completion_chunk": [],
"openai.types.chat.chat_completion_content_part_image_param": [],
"openai.types.chat.chat_completion_content_part_param": [],
"openai.types.chat.chat_completion_content_part_text_param": [],
"openai.types.chat.chat_completion_function_call_option_param": [],
"openai.types.chat.chat_completion_function_message_param": [],
"openai.types.chat.chat_completion_message": [],
"openai.types.chat.chat_completion_message_param": [],
"openai.types.chat.chat_completion_message_tool_call": [],
"openai.types.chat.chat_completion_message_tool_call_param": [],
"openai.types.chat.chat_completion_named_tool_choice_param": [],
"openai.types.chat.chat_completion_role": [],
"openai.types.chat.chat_completion_stream_options_param": [],
"openai.types.chat.chat_completion_system_message_param": [],
"openai.types.chat.chat_completion_token_logprob": [],
"openai.types.chat.chat_completion_tool_choice_option_param": [],
"openai.types.chat.chat_completion_tool_message_param": [],
"openai.types.chat.chat_completion_tool_param": [],
"openai.types.chat.chat_completion_user_message_param": [],
"openai.types.chat.completion_create_params": [],
"openai.types.chat_model": [],
"openai.types.completion": [],
"openai.types.completion_choice": [],
"openai.types.completion_create_params": [],
"openai.types.completion_usage": [],
"openai.types.create_embedding_response": [],
"openai.types.embedding": [],
"openai.types.embedding_create_params": [],
"openai.types.file_content": [],
"openai.types.file_create_params": [],
"openai.types.file_deleted": [],
"openai.types.file_list_params": [],
"openai.types.file_object": [],
"openai.types.fine_tuning": [],
"openai.types.fine_tuning.fine_tuning_job": [],
"openai.types.fine_tuning.fine_tuning_job_event": [],
"openai.types.fine_tuning.fine_tuning_job_integration": [],
"openai.types.fine_tuning.fine_tuning_job_wandb_integration": [],
"openai.types.fine_tuning.fine_tuning_job_wandb_integration_object": [],
"openai.types.fine_tuning.job_create_params": [],
"openai.types.fine_tuning.job_list_events_params": [],
"openai.types.fine_tuning.job_list_params": [],
"openai.types.fine_tuning.jobs": [],
"openai.types.fine_tuning.jobs.checkpoint_list_params": [],
"openai.types.fine_tuning.jobs.fine_tuning_job_checkpoint": [],
"openai.types.image": [],
"openai.types.image_create_variation_params": [],
"openai.types.image_edit_params": [],
"openai.types.image_generate_params": [],
"openai.types.images_response": [],
"openai.types.model": [],
"openai.types.model_deleted": [],
"openai.types.moderation": [],
"openai.types.moderation_create_params": [],
"openai.types.moderation_create_response": [],
"openai.types.shared": [],
"openai.types.shared.error_object": [],
"openai.types.shared.function_definition": [],
"openai.types.shared.function_parameters": [],
"openai.types.shared_params": [],
"openai.types.shared_params.function_definition": [],
"openai.types.shared_params.function_parameters": [],
"openai.version": []
},
"opencv-python": {
"cv2": [],
"cv2.config-3": [],
Expand Down
Loading