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

[New Model] Azure OpenAI support #137

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tarun-aiplanet
Copy link
Member

@tarun-aiplanet tarun-aiplanet commented Jun 18, 2024

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component;model LLM Model related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants