-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d9be87
commit 676c11a
Showing
12 changed files
with
179 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
libs/langchain/tests/integration_tests/chains/docker-compose-ontotext-graphdb/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
FROM ontotext/graphdb:10.5.1 | ||
RUN mkdir -p /opt/graphdb/dist/data/repositories/starwars | ||
COPY config.ttl /opt/graphdb/dist/data/repositories/starwars/ | ||
COPY config-starwars.ttl /opt/graphdb/dist/data/repositories/starwars/config.ttl | ||
RUN mkdir -p /opt/graphdb/dist/data/repositories/langchain | ||
COPY config-langchain.ttl /opt/graphdb/dist/data/repositories/langchain/config.ttl | ||
COPY starwars-data.trig / | ||
COPY berners-lee-card.ttl / | ||
COPY graphdb_create.sh /run.sh | ||
ENTRYPOINT bash /run.sh |
File renamed without changes.
46 changes: 46 additions & 0 deletions
46
...chain/tests/integration_tests/chains/docker-compose-ontotext-graphdb/config-langchain.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | ||
@prefix rep: <http://www.openrdf.org/config/repository#>. | ||
@prefix sr: <http://www.openrdf.org/config/repository/sail#>. | ||
@prefix sail: <http://www.openrdf.org/config/sail#>. | ||
@prefix graphdb: <http://www.ontotext.com/config/graphdb#>. | ||
|
||
[] a rep:Repository ; | ||
rep:repositoryID "langchain" ; | ||
rdfs:label "" ; | ||
rep:repositoryImpl [ | ||
rep:repositoryType "graphdb:SailRepository" ; | ||
sr:sailImpl [ | ||
sail:sailType "graphdb:Sail" ; | ||
|
||
graphdb:read-only "false" ; | ||
|
||
# Inference and Validation | ||
graphdb:ruleset "empty" ; | ||
graphdb:disable-sameAs "true" ; | ||
graphdb:check-for-inconsistencies "false" ; | ||
|
||
# Indexing | ||
graphdb:entity-id-size "32" ; | ||
graphdb:enable-context-index "false" ; | ||
graphdb:enablePredicateList "true" ; | ||
graphdb:enable-fts-index "false" ; | ||
graphdb:fts-indexes ("default" "iri") ; | ||
graphdb:fts-string-literals-index "default" ; | ||
graphdb:fts-iris-index "none" ; | ||
|
||
# Queries and Updates | ||
graphdb:query-timeout "0" ; | ||
graphdb:throw-QueryEvaluationException-on-timeout "false" ; | ||
graphdb:query-limit-results "0" ; | ||
|
||
# Settable in the file but otherwise hidden in the UI and in the RDF4J console | ||
graphdb:base-URL "http://example.org/owlim#" ; | ||
graphdb:defaultNS "" ; | ||
graphdb:imports "" ; | ||
graphdb:repository-type "file-repository" ; | ||
graphdb:storage-folder "storage" ; | ||
graphdb:entity-index-size "10000000" ; | ||
graphdb:in-memory-literal-properties "true" ; | ||
graphdb:enable-literal-index "true" ; | ||
] | ||
]. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
libs/langchain/tests/integration_tests/chains/docker-compose/Dockerfile
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
libs/langchain/tests/integration_tests/chains/docker-compose/config.ttl
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
libs/langchain/tests/integration_tests/chains/docker-compose/docker-compose.yaml
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
libs/langchain/tests/integration_tests/chains/docker-compose/graphdb_create.sh
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
libs/langchain/tests/integration_tests/chains/docker-compose/start.sh
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.