Connection of langchain using Azure OpenAPI #6522
Unanswered
wns-vivekpra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
While trying to connect AzureOpen AI, I am facing issues with respect to any other models other than Davinci-003. Have referred all the suggestion available over online platforms
Code used:
from langchain.agents import create_csv_agent
from langchain.agents import create_pandas_dataframe_agent
from langchain.llms import AzureOpenAI
from langchain.agents import create_csv_agent
from dotenv import load_dotenv
import pandas as pd
load_dotenv()
agent = create_csv_agent(AzureOpenAI(temperature=0, deployment_name="gpt4"), 'dataframe.csv', verbose=True)
agent.run("Insights basis x column values")
Beta Was this translation helpful? Give feedback.
All reactions