Baskar2005 commited on
Commit
89f01cf
·
verified ·
1 Parent(s): c6b4b12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -98,10 +98,8 @@ def summarize_text_technical(details_of_companies):
98
  return response
99
 
100
  def summarize_text_fundamental(details_of_companies):
101
- client = AzureOpenAI(api_key= "5c68e66b7eb3470987c9088b6602c6c7",
102
- api_version="2023-07-01-preview",
103
- azure_endpoint = "https://azureadople.openai.azure.com/"
104
- )
105
  conversation = [
106
  {"role": "system", "content": "You are a helpful assistant."},
107
  {"role": "user", "content": f"i want detailed Summary from given finance details.give a summary for each companies detailed and include all the information of a company. finally you analyse the company data to give it's [good or better or bad] for investment. content in backticks.Give Only Summary.Output Format:Summary:summary Analysis: good or better or bad for investment.```{details_of_companies}```."}
 
98
  return response
99
 
100
  def summarize_text_fundamental(details_of_companies):
101
+ client = AzureOpenAI()
102
+
 
 
103
  conversation = [
104
  {"role": "system", "content": "You are a helpful assistant."},
105
  {"role": "user", "content": f"i want detailed Summary from given finance details.give a summary for each companies detailed and include all the information of a company. finally you analyse the company data to give it's [good or better or bad] for investment. content in backticks.Give Only Summary.Output Format:Summary:summary Analysis: good or better or bad for investment.```{details_of_companies}```."}