feat(azure): add Azure OpenAI integration#126
Conversation
Sandipmandal25
left a comment
There was a problem hiding this comment.
Same branching issue like all other prs chcek the detailed comment over in all older prs. Thank you
| #![allow(clippy::too_many_arguments, clippy::let_and_return, dead_code, unused, deprecated, non_camel_case_types, clippy::single_component_path_imports, clippy::needless_return, clippy::io_other_error, clippy::new_without_default, non_snake_case, clippy::assertions_on_constants)] | ||
|
|
||
| mod tests; | ||
| pub mod errors; | ||
| pub mod types { | ||
| pub mod llm; | ||
| } | ||
| pub mod traits { | ||
| pub mod llm_provider; | ||
| pub mod token_provider; | ||
| } | ||
| pub mod azure{ | ||
| pub mod azure_apis{ | ||
| pub mod auth{ | ||
| pub mod azure_auth; | ||
| } | ||
| pub mod storage{ | ||
| pub mod azure_blob; | ||
| } | ||
| } | ||
| } | ||
| pub mod aws { | ||
| pub mod aws_apis { | ||
| pub mod compute { | ||
| pub mod aws_ec2; | ||
| pub mod aws_ecs; | ||
| pub mod aws_eks; | ||
| } | ||
| pub mod database { | ||
| pub mod aws_dynamodb; | ||
| } | ||
| pub mod management { | ||
| pub mod aws_monitoring; | ||
| } | ||
| pub mod network { | ||
| pub mod aws_dns; | ||
| pub mod aws_loadbalancer; | ||
| } | ||
| pub mod security { | ||
| pub mod aws_iam; | ||
| pub mod aws_keymanagement; | ||
| } | ||
| pub mod storage { | ||
| pub mod aws_archival_storage; | ||
| pub mod aws_block_storage; | ||
| pub mod aws_storage_bucket; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| pub mod gcp { | ||
| pub mod gcp_apis { | ||
| pub mod app_services { | ||
| pub mod gcp_notification_service; | ||
| } | ||
| pub mod artificial_intelligence { | ||
| pub mod gcp_automl; | ||
| pub mod vertex; | ||
| } | ||
| pub mod compute { | ||
| pub mod gcp_compute_engine; | ||
| pub mod gcp_kubernetes; | ||
| } | ||
| pub mod database { | ||
| pub mod gcp_bigtable; | ||
| pub mod gcp_bigquery; | ||
| } | ||
| pub mod network { | ||
| pub mod gcp_dns; | ||
| pub mod gcp_loadbalancer; | ||
| } | ||
| pub mod storage { | ||
| pub mod gcp_storage; | ||
| } | ||
| pub mod auth { | ||
| pub mod gcp_auth; | ||
| } | ||
| } | ||
| pub mod types; | ||
| } | ||
|
|
||
| pub mod digiocean { | ||
| pub mod digiocean_apis { | ||
| pub mod compute { | ||
| pub mod digiocean_droplet; | ||
| } | ||
| pub mod dns { | ||
| pub mod digiocean_dns; | ||
| } | ||
| pub mod network { | ||
| pub mod digiocean_loadbalancer; | ||
| } | ||
| pub mod storage { | ||
| pub mod digiocean_storage; | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
The same file here again dont you think there is a problem in all prs because azure and bedrock pr and all other prs contain this same file everywhere which isnt needed? I hope you verify this from your side before making a new pull request.
- Add AzureOpenAI struct implementing LlmProvider trait - Supports Azure OpenAI (ChatGPT) and text-embedding-ada-002 - Configurable endpoint, API key, and API version - Implements generate, stream, embed, generate_with_tools
b5032b9 to
590157d
Compare
|
I've verified the files in this PR. PR #126 only contains 3 files related to Azure OpenAI: azure_apis/ai/openai.rs, azure_apis/ai/mod.rs, and azure_apis/mod.rs. \n\nThese are different files from PR #125 which contains AWS Bedrock files. Both PRs are now based on the cleaned main branch after fixing PR #124 (which now only has 6 files for the crate layout change). |
*now 3 files previouly it was 28 files. thanks! |
Summary
Add Azure OpenAI LLM provider integration to RustCloud for unified generative AI support.
Changes
Validation
i