index.ts 763 B

1234567891011121314151617181920212223242526272829303132
  1. import agentApi from './servers/api'
  2. import modelApi from './servers/model/api'
  3. import knowledgeApi from './servers/knowledge/api'
  4. import aiChatApi from './servers/ai-chat/api'
  5. import resourceApi from './servers/resource/api'
  6. const agent = agentApi.agent
  7. const agentApplication = agentApi.agentApplication
  8. const tools = agentApi.tools
  9. const aiModel = modelApi.aiModel
  10. const ollama = modelApi.ollama
  11. const knowledge = knowledgeApi.knowledge
  12. const storageProvider = knowledgeApi.storageProvider
  13. const wiki = knowledgeApi.wiki
  14. const aiChat = aiChatApi.aiChat
  15. const resource = resourceApi.resource
  16. const agentLog = agentApi.agentLog
  17. export {
  18. agent,
  19. tools,
  20. aiModel,
  21. ollama,
  22. knowledge,
  23. storageProvider,
  24. agentApplication,
  25. wiki,
  26. aiChat,
  27. resource,
  28. agentLog
  29. }