Generative AI Platform Plugin Documentation
The Generative AI Platform Plugin is provided through the C3 Package genaiPlatform, and includes C3 Types, Seed Data, Metadata, and dependent packages. This package enables developers and data scientists to quickly implement the backend of Generative AI applications.
Dependencies
| Dependent Package | Purpose of this Package |
|---|---|
| jarvis | only used for testing - aids in setting up LLM auth |
| baseToolKit | coding standards and document generation |
| observability | provides basic APIs to create logging traces for all genaiPlatform components |
Key C3 AI Types in this package
| C3 AI Type | Description |
|---|---|
| GenaiCore.Llm.Completion.Client | client for LLM completion calling |
| GenaiCore.Llm.Embedding.Client | client for LLM embedding calling |
| GenaiCore.Llm.Model | model from an LLM service |
| GenaiCore.Llm.Auth | auth for an LLM service |
| GenaiCore.Embedder | embedder for encoding text to embedding vector |
| GenaiCore.VectorStore | vector store for similarity search |
| GenaiCore.DynamicPy.Engine | engine for running Python code |
| GenaiCore.DynamicPy.Service | microservice for running Python code |
| GenaiCore.SessionStore | per-session data store for agents |
| GenaiCore.Tool | C3 tool interface |
Key files in this package
The package is structured in the following manner:
Text
genaiPlatform/
└── src/
├── agent/
│ └── session/
├── dynamicPy/
├── embedder/
├── llm/
├── tool/
└── vectorStore/| Folder name | Content |
|---|---|
| src/agent/session | all types/impl for agent session memory |
| src/dynamicPy | all types/impl for dynamic py service and engine |
| src/embedder | all types/impl for embedder |
| src/llm | all types/impl for LLM calling |
| src/tool | all types/impl for tools |
| src/vectorStore | all types/impl for vector store |