Skip to content

Commit d487104

Browse files
Update approach.py (Typo "Azure Open AI"→"Azure OpenAI") (#1431)
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/app/backend/approaches/approach.py #PingMSFTDocs
1 parent 127620a commit d487104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/backend/approaches/approach.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def get_citation(self, sourcepage: str, use_image_citation: bool) -> str:
193193

194194
async def compute_text_embedding(self, q: str):
195195
embedding = await self.openai_client.embeddings.create(
196-
# Azure Open AI takes the deployment name as the model name
196+
# Azure OpenAI takes the deployment name as the model name
197197
model=self.embedding_deployment if self.embedding_deployment else self.embedding_model,
198198
input=q,
199199
)

0 commit comments

Comments
 (0)