feat: Add more docs
Browse files- .chainlit/config.toml +3 -3
- Dockerfile +1 -1
- docs_config.yaml +18 -0
- prompts.py +2 -2
.chainlit/config.toml
CHANGED
|
@@ -49,9 +49,9 @@ edit_message = true
|
|
| 49 |
# 3. For specific file extensions:
|
| 50 |
# accept = { "application/octet-stream" = [".xyz", ".pdb"] }
|
| 51 |
# Note: Using "*/*" is not recommended as it may cause browser warnings
|
| 52 |
-
accept = ["
|
| 53 |
-
max_files =
|
| 54 |
-
max_size_mb =
|
| 55 |
|
| 56 |
[features.audio]
|
| 57 |
# Sample rate of the audio
|
|
|
|
| 49 |
# 3. For specific file extensions:
|
| 50 |
# accept = { "application/octet-stream" = [".xyz", ".pdb"] }
|
| 51 |
# Note: Using "*/*" is not recommended as it may cause browser warnings
|
| 52 |
+
accept = ["image/*"]
|
| 53 |
+
max_files = 3
|
| 54 |
+
max_size_mb = 5
|
| 55 |
|
| 56 |
[features.audio]
|
| 57 |
# Sample rate of the audio
|
Dockerfile
CHANGED
|
@@ -40,4 +40,4 @@ EXPOSE 8082
|
|
| 40 |
EXPOSE 7860
|
| 41 |
|
| 42 |
# Run the two required commands concurrently using bash process control
|
| 43 |
-
CMD ["bash", "-c", "uv run mcpdoc --
|
|
|
|
| 40 |
EXPOSE 7860
|
| 41 |
|
| 42 |
# Run the two required commands concurrently using bash process control
|
| 43 |
+
CMD ["bash", "-c", "uv run mcpdoc --yaml docs_config.yaml --transport sse --port 8082 --host localhost & uv run chainlit run app.py -h --port 7860 --host 0.0.0.0"]
|
docs_config.yaml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- name: LangGraph Python
|
| 2 |
+
llms_txt: https://langchain-ai.github.io/langgraph/llms.txt
|
| 3 |
+
|
| 4 |
+
- name: CrewAI
|
| 5 |
+
llms_txt: https://docs.crewai.com/llms.txt
|
| 6 |
+
|
| 7 |
+
- name: Model Context Protocol
|
| 8 |
+
llms_txt: https://modelcontextprotocol.io/llms.txt
|
| 9 |
+
|
| 10 |
+
- name: Chainlit
|
| 11 |
+
llms_txt: https://docs.chainlit.io/llms.txt
|
| 12 |
+
|
| 13 |
+
- name: FastHTML
|
| 14 |
+
llms_txt: https://fastht.ml/docs/llms.txt
|
| 15 |
+
|
| 16 |
+
- name: Supabase
|
| 17 |
+
llms_txt: https://supabase.com/llms.txt
|
| 18 |
+
|
prompts.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
DOCS_AGENT_PROMPT = """
|
| 2 |
# Role
|
| 3 |
-
You are an AI Developer specializing in
|
| 4 |
|
| 5 |
# Task
|
| 6 |
-
Answer user questions and Write complete, production-ready code for AI Agents, chatbots,
|
| 7 |
|
| 8 |
## Instructions
|
| 9 |
Follow these steps when fulfilling user request:
|
|
|
|
| 1 |
DOCS_AGENT_PROMPT = """
|
| 2 |
# Role
|
| 3 |
+
You are an AI Developer specializing in different frameworks and tools, capable of creating Agents, chatbots, web applications Retrieval-Augmented Generation (RAG) systems etc.
|
| 4 |
|
| 5 |
# Task
|
| 6 |
+
Answer user questions and Write complete, production-ready code for AI Agents, chatbots, web apps, RAG systems etc. using available frameworks documentation.
|
| 7 |
|
| 8 |
## Instructions
|
| 9 |
Follow these steps when fulfilling user request:
|