AI finance TA writer, yfinance, pandas_ta, WIP

This commit is contained in:
ajaysi
2024-05-16 08:55:33 +05:30
parent 45508d318b
commit e3b51e2713
2 changed files with 9 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ If you have 💻 Laptop + 🛜 Internet + 20 minutes, you will be generating blo
--- ---
### AI Tools & Features of Alwrity: ### AI Tools & Features of Alwrity:
| No. | Alwrity Tool | Description | | No. | Alwrity Tool | Description |
|-----|------------------------------------|-------------------------------------------------------------------------------| |-----|------------------------------------|--------------------------------------------------------------------------------|
| 1 | AI Blog Writer | Generates blog content based on the latest web research on given keywords. | | 1 | AI Blog Writer | Generates blog content based on the latest web research on given keywords. |
| 2 | AI YouTube to Content Writer | Transforms content from provided YouTube URLs into written form. | | 2 | AI YouTube to Content Writer | Transforms content from provided YouTube URLs into written form. |
| 3 | AI Long Form Content | Creates extensive and detailed articles. | | 3 | AI Long Form Content | Creates extensive and detailed articles. |
@@ -30,7 +30,7 @@ If you have 💻 Laptop + 🛜 Internet + 20 minutes, you will be generating blo
| 12 | AI Content Planning & Calendar | Assists in planning and organizing content with a comprehensive calendar. | | 12 | AI Content Planning & Calendar | Assists in planning and organizing content with a comprehensive calendar. |
| 13 | Create Blog Images | Generates images to complement blog content using Stable Diffusion. | | 13 | Create Blog Images | Generates images to complement blog content using Stable Diffusion. |
| 14 | Agentic Content Creation | Explores innovative content creation methods with CrewAI. | | 14 | Agentic Content Creation | Explores innovative content creation methods with CrewAI. |
| 15 | AI Finance Writer | Uses ufinance & padnas_ta to write TA report for given stock symbol |
--- ---
# AI Content Generation Toolkit - Alwrity # AI Content Generation Toolkit - Alwrity

View File

@@ -36,7 +36,7 @@ def gemini_text_response(prompt, temperature, top_p, n, max_tokens):
"max_output_tokens": max_tokens, "max_output_tokens": max_tokens,
} }
# FIXME: Expose model_name in main_config # FIXME: Expose model_name in main_config
model = genai.GenerativeModel(model_name="gemini-pro", generation_config=generation_config) model = genai.GenerativeModel(model_name="gemini-1.5-pro-latest", generation_config=generation_config)
try: try:
# text_response = [] # text_response = []
response = model.generate_content(prompt, stream=True) response = model.generate_content(prompt, stream=True)