Spaces:
Build error
Build error
Gorantla Krishna
commited on
Commit
·
7ccfa78
1
Parent(s):
7cbb8cf
update
Browse files- .gitignore +1 -0
- README.md +2 -1
- app.py +0 -0
- src/__init__.py +0 -0
- src/langgraphagenticai/LLMS/__init__.py +0 -0
- src/langgraphagenticai/LLMS/groqllm.py +0 -0
- src/langgraphagenticai/__init__.py +0 -0
- src/langgraphagenticai/graph/__init__.py +0 -0
- src/langgraphagenticai/main.py +0 -0
- src/langgraphagenticai/nodes/__init__.py +0 -0
- src/langgraphagenticai/state/__init__.py +0 -0
- src/langgraphagenticai/tools/__init__.py +0 -0
- src/langgraphagenticai/ui/__init__.py +0 -0
- src/langgraphagenticai/ui/streamlitui/display_result.py +0 -0
- src/langgraphagenticai/ui/streamlitui/loadui.py +11 -0
- src/langgraphagenticai/ui/uiconfigfile.ini +5 -0
- src/langgraphagenticai/ui/uiconfigfile.py +19 -0
- src/langgraphagenticai/vectorstore/__init__.py +0 -0
.gitignore
CHANGED
|
@@ -9,6 +9,7 @@ __pycache__/
|
|
| 9 |
# Distribution / packaging
|
| 10 |
.Python
|
| 11 |
build/
|
|
|
|
| 12 |
develop-eggs/
|
| 13 |
dist/
|
| 14 |
downloads/
|
|
|
|
| 9 |
# Distribution / packaging
|
| 10 |
.Python
|
| 11 |
build/
|
| 12 |
+
agentprojvenv/
|
| 13 |
develop-eggs/
|
| 14 |
dist/
|
| 15 |
downloads/
|
README.md
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
-
# Agentic-AI-Project
|
|
|
|
|
|
| 1 |
+
# End-to-End Agentic-AI-Project
|
| 2 |
+
|
app.py
ADDED
|
File without changes
|
src/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/LLMS/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/LLMS/groqllm.py
ADDED
|
File without changes
|
src/langgraphagenticai/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/graph/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/main.py
ADDED
|
File without changes
|
src/langgraphagenticai/nodes/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/state/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/tools/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/ui/__init__.py
ADDED
|
File without changes
|
src/langgraphagenticai/ui/streamlitui/display_result.py
ADDED
|
File without changes
|
src/langgraphagenticai/ui/streamlitui/loadui.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import os
|
| 3 |
+
from datetime import date
|
| 4 |
+
from langchain_core.messages import AIMessage,HumanMessage
|
| 5 |
+
from src.langgraphagenticai.ui.uiconfigfile import config
|
| 6 |
+
|
| 7 |
+
class LoadStreamlitUI:
|
| 8 |
+
def __init__(self):
|
| 9 |
+
self.config = config()
|
| 10 |
+
self.user_controls = {}
|
| 11 |
+
|
src/langgraphagenticai/ui/uiconfigfile.ini
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[DEFAULT]
|
| 2 |
+
PAGE_TITLE = LangGraph: Build stateful Agentic AI Graph
|
| 3 |
+
LLM_OPTIONS = Groq
|
| 4 |
+
USECASE_OPTIONS = Basic chatbot
|
| 5 |
+
GROQ_MODEL_OPTIONS = mixtral-8x7b-32768,llama3-8b-8192,llama3-70b-8192,gemma-7b-i
|
src/langgraphagenticai/ui/uiconfigfile.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from configparser import ConfigParser
|
| 2 |
+
|
| 3 |
+
class config:
|
| 4 |
+
def __init__(self,config_file="./src/langgraphagenticai/ui/uiconfigfile.ini"):
|
| 5 |
+
self.config = ConfigParser()
|
| 6 |
+
self.config.read(config_file)
|
| 7 |
+
|
| 8 |
+
def get_llm_option(self):
|
| 9 |
+
return self.config["DEFAULT"].get("LLM_OPTIONS").split(", ")
|
| 10 |
+
|
| 11 |
+
def get_usecase_options(self):
|
| 12 |
+
return self.config["DEFAULT"].get("USECASE_OPTIONS").split(", ")
|
| 13 |
+
|
| 14 |
+
def get_groq_model_options(self):
|
| 15 |
+
return self.config["DEFAULT"].get("GROQ_MODEL_OPTIONS").split(", ")
|
| 16 |
+
|
| 17 |
+
def get_page_title(self):
|
| 18 |
+
return self.config["DEFAULT"].get("PAGE_TITLE")
|
| 19 |
+
|
src/langgraphagenticai/vectorstore/__init__.py
ADDED
|
File without changes
|