Skip to content

Commit

Permalink
fix(docs): examples nav menu fixes and redirects (#1096)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Croft <[email protected]>
Co-authored-by: gautamgambhir97 <[email protected]>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent d8e19d4 commit 8361bdb
Show file tree
Hide file tree
Showing 53 changed files with 422 additions and 531 deletions.
187 changes: 187 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,193 @@ module.exports = withNextra({
"/guides/fetch-network/asi-wallet/mobile-wallet/gov-proposal",
permanent: true,
},
{
source: "/examples/easy/first-agent",
destination: "/examples/agent/first-agent",
permanent: true,
},
{
source: "/examples/easy/agents-interval-task",
destination: "/examples/agent/agents-interval-task",
permanent: true,
},
{
source: "/examples/easy/local-communication",
destination: "/examples/agent/local-communication",
permanent: true,
},
{
source: "/examples/easy/simple-agent-communication-with-bureau",
destination: "/examples/agent/simple-agent-communication-with-bureau",
permanent: true,
},
{
source: "/examples/easy/storage",
destination: "/examples/agent/storage",
permanent: true,
},
{
source: "/examples/intermediate/broadcast",
destination: "/examples/agent/broadcast",
permanent: true,
},
{
source: "/examples/intermediate/multiple-agents",
destination: "/examples/agent/multiple-agents",
permanent: true,
},
{
source: "/examples/intermediate/mailbox-agents",
destination: "/examples/agentverse/mailbox-agents",
permanent: true,
},
{
source: "/examples/intermediate/on-query-proxy",
destination: "/examples/agentverse/on-query-proxy",
permanent: true,
},
{
source: "/examples/intermediate/dice-roll",
destination: "/examples/DeltaV/dice-roll",
permanent: true,
},
{
source: "/examples/intermediate/coin-toss",
destination: "/examples/DeltaV/coin-toss",
permanent: true,
},
{
source: "/examples/intermediate/on_query_example",
destination: "/examples/agent/on_query_example",
permanent: true,
},
{
source: "/examples/intermediate/agents-with-docker",
destination: "/examples/agent/agents-with-docker",
permanent: true,
},
{
source: "/examples/intermediate/local-agent-registration",
destination: "/examples/DeltaV/local-agent-registration",
permanent: true,
},
{
source: "/examples/intermediate/table-booking-demo",
destination: "/examples/agent/table-booking-demo",
permanent: true,
},
{
source: "/examples/intermediate/agents-cleaning-demo",
destination: "/examples/agent/agents-cleaning-demo",
permanent: true,
},
{
source: "/examples/intermediate/send-tokens-agents",
destination: "/examples/agent/send-tokens-agents",
permanent: true,
},
{
source: "/examples/intermediate/verify-messages",
destination: "/examples/agent/verify-messages",
permanent: true,
},
{
source: "/examples/intermediate/wallet-messaging",
destination: "/examples/agent/wallet-messaging",
permanent: true,
},
{
source: "/examples/intermediate/name-service",
destination: "/examples/agentverse/name-service",
permanent: true,
},
{
source: "/examples/intermediate/news-reading-system",
destination: "/examples/DeltaV/news-reading-system",
permanent: true,
},
{
source: "/examples/intermediate/local-agent-langchain",
destination: "/examples/DeltaV/local-agent-langchain",
permanent: true,
},
{
source: "/examples/intermediate/on-query",
destination: "/examples/agent/on-query",
permanent: true,
},
{
source: "/examples/intermediate/agent-and-function-api",
destination: "/examples/agentverse-api/agent-and-function-api",
permanent: true,
},
{
source: "/examples/intermediate/running-an-agent-on-agentverse",
destination: "/examples/agentverse/running-an-agent-on-agentverse",
permanent: true,
},
{
source: "/examples/intermediate/agent-secret-api",
destination: "/examples/agentverse-api/agent-secret-api",
permanent: true,
},
{
source: "/examples/intermediate/langchain-rag",
destination: "/examples/rag/langchain-rag",
permanent: true,
},
{
source:
"/examples/intermediate/sending-and-verifying-token-transactions-with-agent",
destination:
"/examples/agent/sending-and-verifying-token-transactions-with-agent",
permanent: true,
},
{
source: "/examples/advanced/open-dialogue-chitchat",
destination: "/examples/dialogues/open-dialogue-chitchat",
permanent: true,
},
{
source: "/examples/advanced/predefined-dialogue-chitchat",
destination: "/examples/dialogues/predefined-dialogue-chitchat",
permanent: true,
},
{
source: "/examples/advanced/async-loops",
destination: "/examples/agent/async-loops",
permanent: true,
},
{
source: "/examples/advanced/chat_api_example",
destination: "/examples/ai-engine-api/chat_api_example",
permanent: true,
},
{
source: "/examples/advanced/deltaV-dialogues",
destination: "/examples/dialogues/deltaV-dialogues",
permanent: true,
},
{
source: "/examples/postgres-database-with-an-agent",
destination: "/examples/examplestech/postgres-database-with-an-agent",
permanent: true,
},
{
source: "/examples/react-example",
destination: "/examples/examplestech/react-example",
permanent: true,
},
{
source: "/examples/hugging-face-agent",
destination: "/examples/examplestech/hugging-face-agent",
permanent: true,
},
{
source: "/examples/jupyter-agent",
destination: "/examples/examplestech/jupyter-agent",
permanent: true,
},
];
},
});
28 changes: 28 additions & 0 deletions pages/examples/DeltaV/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"dice-roll": {
"title": "Register a dice roll agent as a Function [intermediate]",
"tags": ["Intermediate", "Python", "Functions", "DeltaV"],
"timestamp": true
},
"coin-toss": {
"title": "Register a coin toss agent as a Function [intermediate]",
"tags": ["Intermediate", "Python", "Functions", "DeltaV"],
"timestamp": true
},

"local-agent-registration": {
"title": "Register a local agent as a Function [intermediate]",
"tags": ["Intermediate", "Python", "Functions", "Agentverse"],
"timestamp": true
},
"local-agent-langchain": {
"title": "Locally Hosted Agent with LangChain Integration [intermediate]",
"tags": ["Intermediate", "Python", "Functions", "LangChain", "Agentverse"],
"timestamp": true
},
"news-reading-system": {
"title": "Using News API to build network of Primary and Secondary functions [Advanced]",
"tags": ["Intermediate", "Python", "Functions", "AI Engine"],
"timestamp": true
}
}
File renamed without changes.
Empty file.
Empty file.
Empty file.
53 changes: 32 additions & 21 deletions pages/examples/_meta.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,50 @@
{
"easy": {
"title": "Easy Topics",
"agent": {
"title": "Agents",
"theme": {
"collapsed": false
}
},
"intermediate": {
"title": "Intermediate Topics",
"rag": {
"title": "RAG examples",
"theme": {
"collapsed": false
}
},
"advanced": {
"title": "Advanced Topics",
"examplestech": {
"title": "Examples with other Tech",
"theme": {
"collapsed": false
}
},
"postgres-database-with-an-agent": {
"title": "Postgres Database with an Agent",
"tags": ["Intermediate", "Python", "Docker", "PostgreSQL", "Use Cases"],
"timestamp": true
"agentverse": {
"title": "Agentverse",
"theme": {
"collapsed": false
}
},
"dialogues": {
"title": "Dialogues",
"theme": {
"collapsed": false
}
},
"react-example": {
"title": "React Example",
"tags": ["Intermediate", "Python", "Use Cases"],
"timestamp": true
"agentverse-api": {
"title": "Agentverse API",
"theme": {
"collapsed": false
}
},
"hugging-face-agent": {
"title": "Hugging Face Agent",
"tags": ["Intermediate", "Python", "Functions", "Agentverse"],
"timestamp": true
"DeltaV": {
"title": "DeltaV",
"theme": {
"collapsed": false
}
},
"jupyter-agent": {
"title": "Jupyter Agent",
"timestamp": true
"ai-engine-api": {
"title": "AI-Engine API",
"theme": {
"collapsed": false
}
}
}
27 changes: 0 additions & 27 deletions pages/examples/advanced/_meta.json

This file was deleted.

Loading

0 comments on commit 8361bdb

Please sign in to comment.