feat: add in-place config editing, OpenAI GPT-oss models, and Cohere Embed v4.0
- Add PUT endpoints for editing OCI, GenAI, ADB, and MCP configurations - Add edit buttons in all config tables with inline form pre-fill - Add OpenAI GPT-oss 120B and 20B models to GenAI catalog - Add Cohere Embed v4.0 (Multimodal, 1536d) to embedding catalog - Update OCI list endpoint to return user_ocid and fingerprint for editing - Add S.editing state management with cancel support - Bump version to 1.4
This commit is contained in:
13
README.md
13
README.md
@@ -9,7 +9,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/version-1.3-C74634?style=flat-square" alt="Version">
|
||||
<img src="https://img.shields.io/badge/version-1.4-C74634?style=flat-square" alt="Version">
|
||||
<img src="https://img.shields.io/badge/python-3.12-3776AB?style=flat-square" alt="Python">
|
||||
<img src="https://img.shields.io/badge/FastAPI-0.115-009688?style=flat-square" alt="FastAPI">
|
||||
<img src="https://img.shields.io/badge/OCI-GenAI-C74634?style=flat-square" alt="OCI">
|
||||
@@ -32,7 +32,7 @@ The platform combines security compliance scanning, AI-powered chat with **RAG (
|
||||
### 🤖 AI Chat Agent with RAG
|
||||
- **OCI Generative AI** integration via official SDK (`oci.generative_ai_inference`)
|
||||
- **RAG (Retrieval-Augmented Generation)**: automatically queries ADB vector store for relevant context before generating responses
|
||||
- 12 models across 4 providers: **Cohere** (Command A/R/R+), **Meta** (Llama 4/3.3/3.2/3.1), **Google** (Gemini 2.5), **xAI** (Grok 3/4)
|
||||
- 14 models across 5 providers: **Cohere** (Command A/R/R+), **Meta** (Llama 4/3.3/3.2/3.1), **Google** (Gemini 2.5), **xAI** (Grok 3/4), **OpenAI** (GPT-oss 120B/20B)
|
||||
- 16 OCI regions supported with auto-generated endpoints
|
||||
- Full parameter control: temperature, max_tokens, top_p, top_k, frequency/presence penalty
|
||||
- Conversation history with session management
|
||||
@@ -309,6 +309,7 @@ oci-cis-agent/
|
||||
|--------|----------|-------------|
|
||||
| POST | `/api/oci/config` | Save OCI credentials (multipart) |
|
||||
| GET | `/api/oci/configs` | List OCI credentials |
|
||||
| PUT | `/api/oci/configs/{id}` | Update OCI credential (multipart) |
|
||||
| POST | `/api/oci/test/{id}` | Test OCI connection |
|
||||
| DELETE | `/api/oci/configs/{id}` | Delete OCI credential |
|
||||
|
||||
@@ -330,6 +331,7 @@ oci-cis-agent/
|
||||
| GET | `/api/genai/models` | List available models and regions |
|
||||
| POST | `/api/genai/config` | Save GenAI configuration |
|
||||
| GET | `/api/genai/configs` | List GenAI configurations |
|
||||
| PUT | `/api/genai/configs/{id}` | Update GenAI configuration |
|
||||
| POST | `/api/genai/test/{id}` | Test GenAI connection |
|
||||
| DELETE | `/api/genai/configs/{id}` | Delete GenAI config |
|
||||
|
||||
@@ -339,6 +341,7 @@ oci-cis-agent/
|
||||
|--------|----------|-------------|
|
||||
| POST | `/api/mcp/servers` | Register MCP server |
|
||||
| GET | `/api/mcp/servers` | List MCP servers |
|
||||
| PUT | `/api/mcp/servers/{id}` | Update MCP server |
|
||||
| PUT | `/api/mcp/servers/{id}/toggle` | Activate/deactivate |
|
||||
| POST | `/api/mcp/servers/{id}/upload` | Upload script file |
|
||||
| PUT | `/api/mcp/servers/{id}/link-adb` | Link to ADB Vector |
|
||||
@@ -350,6 +353,8 @@ oci-cis-agent/
|
||||
|--------|----------|-------------|
|
||||
| POST | `/api/adb/config` | Save ADB connection (with GenAI config + embedding model) |
|
||||
| GET | `/api/adb/configs` | List ADB connections |
|
||||
| PUT | `/api/adb/configs/{id}` | Update ADB connection (multipart) |
|
||||
| POST | `/api/adb/parse-wallet` | Parse wallet ZIP and extract DSN names |
|
||||
| POST | `/api/adb/{id}/upload-wallet` | Upload wallet ZIP |
|
||||
| POST | `/api/adb/test/{id}` | Test ADB connection |
|
||||
| POST | `/api/adb/{id}/ensure-table` | Create embeddings table in ADB |
|
||||
@@ -410,6 +415,8 @@ oci-cis-agent/
|
||||
| Google | Gemini 2.5 Flash | GENERIC |
|
||||
| xAI | Grok 4 | GENERIC |
|
||||
| xAI | Grok 3 | GENERIC |
|
||||
| OpenAI | GPT-oss (120B) | GENERIC |
|
||||
| OpenAI | GPT-oss (20B) | GENERIC |
|
||||
|
||||
### Embedding Models
|
||||
|
||||
@@ -419,6 +426,7 @@ oci-cis-agent/
|
||||
| Cohere | Embed Multilingual v3.0 | 1024 |
|
||||
| Cohere | Embed English Light v3.0 | 384 |
|
||||
| Cohere | Embed Multilingual Light v3.0 | 384 |
|
||||
| Cohere | Embed v4.0 (Multimodal) | 1536 |
|
||||
|
||||
### GenAI Regions
|
||||
|
||||
@@ -446,6 +454,7 @@ oci-cis-agent/
|
||||
|
||||
| Version | Date | Changes |
|
||||
|---------|------|---------|
|
||||
| **v1.4** | 2026-03 | In-place config editing (OCI, GenAI, ADB, MCP), OpenAI GPT-oss models (120B/20B), Cohere Embed v4.0 multimodal, wallet auto-parse with DSN extraction |
|
||||
| **v1.3** | 2026-03 | Persistent config logs per tab, GenAI auto-fill from OCI credentials, inline UX feedback with loading spinners, MCP type-switch fix, encrypted key passphrase support, Docker stdin hang fix |
|
||||
| **v1.2** | 2026-03 | RAG pipeline (OCI GenAI embeddings + ADB vector search), dedicated Embeddings tab, CIS report chunking, file upload embedding |
|
||||
| **v1.1** | 2025-02 | OCI SDK GenAI (exact pattern), OCI Account Explorer, MCP↔ADB linking, full chat parameters |
|
||||
|
||||
Reference in New Issue
Block a user