Skip to content

Commit

Permalink
fixing connecction for funciton app with blob managed identity
Browse files Browse the repository at this point in the history
  • Loading branch information
albertaga27 authored and albertaga27 committed Sep 30, 2024
1 parent ceaf7c9 commit 693bbf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions src/functionapp/ai_ocr/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def get_structured_data(html_content: str, prompt: str, json_schema: str, images
for img in images:
messages.append(HumanMessage(content=[{"type": "image_url", "image_url": {"url": f"data:image/png;base64,{img}"}}]))

#todo manage token count
model = get_llm()
return model.invoke(messages)

Expand Down
11 changes: 0 additions & 11 deletions src/functionapp/function.json

This file was deleted.

0 comments on commit 693bbf9

Please sign in to comment.