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

[New Model] Azure OpenAI support#137

Open
tarun-aiplanet wants to merge 2 commits intoaiplanethub:mainfrom
tarun-aiplanet:main
Open

[New Model] Azure OpenAI support#137
tarun-aiplanet wants to merge 2 commits intoaiplanethub:mainfrom
tarun-aiplanet:main

Conversation

@tarun-aiplanet
Copy link
Contributor

@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