Skip to content

Commit

Permalink
adding demo file
Browse files Browse the repository at this point in the history
  • Loading branch information
Manoranjan Rajguru committed Jul 26, 2024
1 parent eac7ea8 commit bb753d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multimodal_rag/doc_intelligence.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from openai import AzureOpenAI
aoai_api_base = os.getenv("AZURE_OPENAI_ENDPOINT")
aoai_api_key= os.getenv("AZURE_OPENAI_API_KEY")
aoai_deployment_name = 'gpt-4-1106-preview' # your model deployment name for GPT-4V
aoai_api_version = '2024-03-01-preview' # this might change in the future
aoai_deployment_name = os.getenv("AZURE_OPENAI_DEPLOYMENT_NAME")
aoai_api_version = '2024-06-01'

# Function to encode a local image into data URL
def local_image_to_data_url(image_path):
Expand Down

0 comments on commit bb753d3

Please sign in to comment.