Spaces:
Running
Running
Update app.py
Browse files
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(
|
102 |
-
|
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}```."}
|