Skip to content

Commit

Permalink
Update prototype to GPT-4
Browse files Browse the repository at this point in the history
  • Loading branch information
bmquinn committed Aug 25, 2023
1 parent ed39901 commit 18ba72a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ def openai_chat_client():
deployment = os.getenv("AZURE_OPENAI_LLM_DEPLOYMENT_ID")
key = os.getenv("AZURE_OPENAI_API_KEY")
resource = os.getenv("AZURE_OPENAI_RESOURCE_NAME")
version = "2023-07-01-preview"

return AzureChatOpenAI(deployment_name=deployment,
openai_api_key=key,
openai_api_base=f"https://{resource}.openai.azure.com/",
openai_api_version="2023-03-15-preview")
openai_api_version=version)



def weaviate_vector_store(index_name: str, text_key: str, attributes: List[str] = []):
Expand Down

0 comments on commit 18ba72a

Please sign in to comment.