You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
- All integration tests must run against real dependencies via Testcontainers modules (Neo4j, Postgres/AGE, Cosmos, Janus, etc.); do not fall back to Aspire seeding or mock containers.
21
21
- Keep integration tests provider-agnostic; avoid adding Postgres-only scenarios when the same flow should apply to every backend.
22
22
- Disable Cosmos DB integration tests by default; only enable the emulator when explicitly requested (set `GRAPH_RAG_ENABLE_COSMOS=true`).
23
+
- Always enable JanusGraph integration tests: start the Janus Testcontainers module just like Neo4j/Postgres so Janus coverage runs in every `dotnet test` execution.
23
24
24
25
# Conversations
25
26
any resulting updates to agents.md should go under the section "## Rules to follow"
Copy file name to clipboardExpand all lines: README.md
+65-9Lines changed: 65 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,6 +309,24 @@ GraphRAG ships with a first-class Apache AGE adapter (`ManagedCode.GraphRag.Post
309
309
310
310
The `AgeConnectionManager` automatically retries transient `53300: too many clients` errors (up to three exponential backoff attempts) so scopes can wait for a free slot before failing. When a scope is disposed, the underlying `IAgeClientScope` created by `IAgeClientFactory` returns its connection to the pool, keeping concurrency predictable even under heavy fan-out.
311
311
312
+
Need to tune pooling or other Npgsql settings? Set `options.ConfigureConnectionStringBuilder` / `ConfigureDataSourceBuilder` when registering the store:
JanusGraph support (`ManagedCode.GraphRag.JanusGraph`) uses Gremlin.Net under the hood and now starts automatically in the integration fixture. Register it just like the other stores:
By default the adapter uses a 32-connection pool with 64 in-flight requests per connection, but you can override those numbers (or mutate the underlying `ConnectionPoolSettings` directly) via the new option properties shown above.
385
+
335
386
### Azure Cosmos DB Setup
336
387
337
388
The Cosmos adapter (`ManagedCode.GraphRag.CosmosDb`) targets the SQL API and works with the emulator or live accounts:
338
389
339
390
1.**Provide a connection string.** Set `COSMOS_EMULATOR_CONNECTION_STRING` or configure options manually.
As with other adapters, the first Cosmos store becomes the unkeyed default. If you already have a `CosmosClient`, set `options.ClientFactory` to return it and GraphRAG will reuse that instance.
351
407
352
408
> **Tip:**`IGraphStore` now exposes full graph inspection and mutation helpers (`GetNodesAsync`, `GetRelationshipsAsync`, `DeleteNodesAsync`, `DeleteRelationshipsAsync`) in addition to the targeted APIs (`InitializeAsync`, `Upsert*`, `GetOutgoingRelationshipsAsync`). These use the same AGE-powered primitives, so you can inspect, prune, or export the graph without dropping down to concrete implementations.
0 commit comments