aiplanethub / genai-stack

An End to End GenAI Framework
https://genaistack.aiplanet.com/
Apache License 2.0
128 stars 44 forks source link

[New Model] Azure OpenAI support #137

Open tarun-aiplanet opened 5 months ago

tarun-aiplanet commented 5 months ago

Inference:

from genai_stack.model import AzureModel
from genai_stack.stack.stack import Stack

llm = AzureModel.from_kwargs(parameters={"api_key":"","azure_deployment":"","azure_endpoint":""})
Stack(model=llm)
model_response = llm.predict("How long AI has been around.")
print(model_response)

Need to add langchain_community inside requirements @sam-aiplanet