vedana-core 0.1.0.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vedana_core-0.1.0.dev3/.env.example +20 -0
- vedana_core-0.1.0.dev3/.gitignore +499 -0
- vedana_core-0.1.0.dev3/.python-version +1 -0
- vedana_core-0.1.0.dev3/CHANGELOG.md +65 -0
- vedana_core-0.1.0.dev3/PKG-INFO +29 -0
- vedana_core-0.1.0.dev3/README.md +1 -0
- vedana_core-0.1.0.dev3/pyproject.toml +86 -0
- vedana_core-0.1.0.dev3/src/vedana_core/__init__.py +0 -0
- vedana_core-0.1.0.dev3/src/vedana_core/app.py +78 -0
- vedana_core-0.1.0.dev3/src/vedana_core/data_model.py +465 -0
- vedana_core-0.1.0.dev3/src/vedana_core/data_provider.py +513 -0
- vedana_core-0.1.0.dev3/src/vedana_core/db.py +41 -0
- vedana_core-0.1.0.dev3/src/vedana_core/graph.py +300 -0
- vedana_core-0.1.0.dev3/src/vedana_core/llm.py +192 -0
- vedana_core-0.1.0.dev3/src/vedana_core/py.typed +0 -0
- vedana_core-0.1.0.dev3/src/vedana_core/rag_agent.py +234 -0
- vedana_core-0.1.0.dev3/src/vedana_core/rag_pipeline.py +326 -0
- vedana_core-0.1.0.dev3/src/vedana_core/settings.py +35 -0
- vedana_core-0.1.0.dev3/src/vedana_core/start_pipeline.py +17 -0
- vedana_core-0.1.0.dev3/src/vedana_core/utils.py +31 -0
- vedana_core-0.1.0.dev3/src/vedana_core/vts.py +167 -0
- vedana_core-0.1.0.dev3/tests/.litellm_cache/.gitattributes +1 -0
- vedana_core-0.1.0.dev3/tests/test_data_model.py +365 -0
- vedana_core-0.1.0.dev3/tests/test_llm.py +42 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Grist
|
|
2
|
+
GRIST_SERVER_URL="https://api.getgrist.com"
|
|
3
|
+
GRIST_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
4
|
+
GRIST_DATA_MODEL_DOC_ID="xxxxxxxxxxxxxxxxxxxxxx"
|
|
5
|
+
GRIST_DATA_DOC_ID="xxxxxxxxxxxxxxxxxxxxxx"
|
|
6
|
+
|
|
7
|
+
# Memgraph
|
|
8
|
+
MEMGRAPH_URI="bolt://memgraph:7687"
|
|
9
|
+
MEMGRAPH_USER="neo4j"
|
|
10
|
+
MEMGRAPH_PWD=""
|
|
11
|
+
|
|
12
|
+
# JIMS: Database configuration and LLM model for completions
|
|
13
|
+
JIMS_DB_CONN_URI="postgresql://user:password@localhost:5432"
|
|
14
|
+
MODEL="gpt-4.1"
|
|
15
|
+
|
|
16
|
+
# Embeddings
|
|
17
|
+
EMBEDDINGS_DIM=1024
|
|
18
|
+
|
|
19
|
+
SENTRY_DSN=https://3f0e181baff3ef9fcfcb82aa1a58799e@o4508581119000576.ingest.de.sentry.io/4509644080349264
|
|
20
|
+
SENTRY_ENVIRONMENT=development
|
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
|
|
2
|
+
# Created by https://www.toptal.com/developers/gitignore/api/windows,python,pycharm+iml,pycharm+all,pycharm,macos,linux,visualstudiocode
|
|
3
|
+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,python,pycharm+iml,pycharm+all,pycharm,macos,linux,visualstudiocode
|
|
4
|
+
|
|
5
|
+
### Linux ###
|
|
6
|
+
*~
|
|
7
|
+
|
|
8
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
9
|
+
.fuse_hidden*
|
|
10
|
+
|
|
11
|
+
# KDE directory preferences
|
|
12
|
+
.directory
|
|
13
|
+
|
|
14
|
+
# Linux trash folder which might appear on any partition or disk
|
|
15
|
+
.Trash-*
|
|
16
|
+
|
|
17
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
|
18
|
+
.nfs*
|
|
19
|
+
|
|
20
|
+
### macOS ###
|
|
21
|
+
# General
|
|
22
|
+
.DS_Store
|
|
23
|
+
.AppleDouble
|
|
24
|
+
.LSOverride
|
|
25
|
+
|
|
26
|
+
# Icon must end with two \r
|
|
27
|
+
Icon
|
|
28
|
+
|
|
29
|
+
# Thumbnails
|
|
30
|
+
._*
|
|
31
|
+
|
|
32
|
+
# Files that might appear in the root of a volume
|
|
33
|
+
.DocumentRevisions-V100
|
|
34
|
+
.fseventsd
|
|
35
|
+
.Spotlight-V100
|
|
36
|
+
.TemporaryItems
|
|
37
|
+
.Trashes
|
|
38
|
+
.VolumeIcon.icns
|
|
39
|
+
.com.apple.timemachine.donotpresent
|
|
40
|
+
|
|
41
|
+
# Directories potentially created on remote AFP share
|
|
42
|
+
.AppleDB
|
|
43
|
+
.AppleDesktop
|
|
44
|
+
Network Trash Folder
|
|
45
|
+
Temporary Items
|
|
46
|
+
.apdisk
|
|
47
|
+
|
|
48
|
+
### macOS Patch ###
|
|
49
|
+
# iCloud generated files
|
|
50
|
+
*.icloud
|
|
51
|
+
|
|
52
|
+
### PyCharm ###
|
|
53
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
54
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
55
|
+
|
|
56
|
+
# User-specific stuff
|
|
57
|
+
.idea/**/workspace.xml
|
|
58
|
+
.idea/**/tasks.xml
|
|
59
|
+
.idea/**/usage.statistics.xml
|
|
60
|
+
.idea/**/dictionaries
|
|
61
|
+
.idea/**/shelf
|
|
62
|
+
|
|
63
|
+
# AWS User-specific
|
|
64
|
+
.idea/**/aws.xml
|
|
65
|
+
|
|
66
|
+
# Generated files
|
|
67
|
+
.idea/**/contentModel.xml
|
|
68
|
+
|
|
69
|
+
# Sensitive or high-churn files
|
|
70
|
+
.idea/**/dataSources/
|
|
71
|
+
.idea/**/dataSources.ids
|
|
72
|
+
.idea/**/dataSources.local.xml
|
|
73
|
+
.idea/**/sqlDataSources.xml
|
|
74
|
+
.idea/**/dynamic.xml
|
|
75
|
+
.idea/**/uiDesigner.xml
|
|
76
|
+
.idea/**/dbnavigator.xml
|
|
77
|
+
|
|
78
|
+
# Gradle
|
|
79
|
+
.idea/**/gradle.xml
|
|
80
|
+
.idea/**/libraries
|
|
81
|
+
|
|
82
|
+
# Gradle and Maven with auto-import
|
|
83
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
84
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
85
|
+
# auto-import.
|
|
86
|
+
# .idea/artifacts
|
|
87
|
+
# .idea/compiler.xml
|
|
88
|
+
# .idea/jarRepositories.xml
|
|
89
|
+
# .idea/modules.xml
|
|
90
|
+
# .idea/*.iml
|
|
91
|
+
# .idea/modules
|
|
92
|
+
# *.iml
|
|
93
|
+
# *.ipr
|
|
94
|
+
|
|
95
|
+
# CMake
|
|
96
|
+
cmake-build-*/
|
|
97
|
+
|
|
98
|
+
# Mongo Explorer plugin
|
|
99
|
+
.idea/**/mongoSettings.xml
|
|
100
|
+
|
|
101
|
+
# File-based project format
|
|
102
|
+
*.iws
|
|
103
|
+
|
|
104
|
+
# IntelliJ
|
|
105
|
+
out/
|
|
106
|
+
|
|
107
|
+
# mpeltonen/sbt-idea plugin
|
|
108
|
+
.idea_modules/
|
|
109
|
+
|
|
110
|
+
# JIRA plugin
|
|
111
|
+
atlassian-ide-plugin.xml
|
|
112
|
+
|
|
113
|
+
# Cursive Clojure plugin
|
|
114
|
+
.idea/replstate.xml
|
|
115
|
+
|
|
116
|
+
# SonarLint plugin
|
|
117
|
+
.idea/sonarlint/
|
|
118
|
+
|
|
119
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
120
|
+
com_crashlytics_export_strings.xml
|
|
121
|
+
crashlytics.properties
|
|
122
|
+
crashlytics-build.properties
|
|
123
|
+
fabric.properties
|
|
124
|
+
|
|
125
|
+
# Editor-based Rest Client
|
|
126
|
+
.idea/httpRequests
|
|
127
|
+
|
|
128
|
+
# Android studio 3.1+ serialized cache file
|
|
129
|
+
.idea/caches/build_file_checksums.ser
|
|
130
|
+
|
|
131
|
+
### PyCharm Patch ###
|
|
132
|
+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
133
|
+
|
|
134
|
+
# *.iml
|
|
135
|
+
# modules.xml
|
|
136
|
+
# .idea/misc.xml
|
|
137
|
+
# *.ipr
|
|
138
|
+
|
|
139
|
+
# Sonarlint plugin
|
|
140
|
+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
|
|
141
|
+
.idea/**/sonarlint/
|
|
142
|
+
|
|
143
|
+
# SonarQube Plugin
|
|
144
|
+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
|
|
145
|
+
.idea/**/sonarIssues.xml
|
|
146
|
+
|
|
147
|
+
# Markdown Navigator plugin
|
|
148
|
+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
|
|
149
|
+
.idea/**/markdown-navigator.xml
|
|
150
|
+
.idea/**/markdown-navigator-enh.xml
|
|
151
|
+
.idea/**/markdown-navigator/
|
|
152
|
+
|
|
153
|
+
# Cache file creation bug
|
|
154
|
+
# See https://youtrack.jetbrains.com/issue/JBR-2257
|
|
155
|
+
.idea/$CACHE_FILE$
|
|
156
|
+
|
|
157
|
+
# CodeStream plugin
|
|
158
|
+
# https://plugins.jetbrains.com/plugin/12206-codestream
|
|
159
|
+
.idea/codestream.xml
|
|
160
|
+
|
|
161
|
+
# Azure Toolkit for IntelliJ plugin
|
|
162
|
+
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
|
|
163
|
+
.idea/**/azureSettings.xml
|
|
164
|
+
|
|
165
|
+
### PyCharm+all ###
|
|
166
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
167
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
168
|
+
|
|
169
|
+
# User-specific stuff
|
|
170
|
+
|
|
171
|
+
# AWS User-specific
|
|
172
|
+
|
|
173
|
+
# Generated files
|
|
174
|
+
|
|
175
|
+
# Sensitive or high-churn files
|
|
176
|
+
|
|
177
|
+
# Gradle
|
|
178
|
+
|
|
179
|
+
# Gradle and Maven with auto-import
|
|
180
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
181
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
182
|
+
# auto-import.
|
|
183
|
+
# .idea/artifacts
|
|
184
|
+
# .idea/compiler.xml
|
|
185
|
+
# .idea/jarRepositories.xml
|
|
186
|
+
# .idea/modules.xml
|
|
187
|
+
# .idea/*.iml
|
|
188
|
+
# .idea/modules
|
|
189
|
+
# *.iml
|
|
190
|
+
# *.ipr
|
|
191
|
+
|
|
192
|
+
# CMake
|
|
193
|
+
|
|
194
|
+
# Mongo Explorer plugin
|
|
195
|
+
|
|
196
|
+
# File-based project format
|
|
197
|
+
|
|
198
|
+
# IntelliJ
|
|
199
|
+
|
|
200
|
+
# mpeltonen/sbt-idea plugin
|
|
201
|
+
|
|
202
|
+
# JIRA plugin
|
|
203
|
+
|
|
204
|
+
# Cursive Clojure plugin
|
|
205
|
+
|
|
206
|
+
# SonarLint plugin
|
|
207
|
+
|
|
208
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
209
|
+
|
|
210
|
+
# Editor-based Rest Client
|
|
211
|
+
|
|
212
|
+
# Android studio 3.1+ serialized cache file
|
|
213
|
+
|
|
214
|
+
### PyCharm+all Patch ###
|
|
215
|
+
# Ignore everything but code style settings and run configurations
|
|
216
|
+
# that are supposed to be shared within teams.
|
|
217
|
+
|
|
218
|
+
.idea/*
|
|
219
|
+
|
|
220
|
+
!.idea/codeStyles
|
|
221
|
+
!.idea/runConfigurations
|
|
222
|
+
|
|
223
|
+
### PyCharm+iml ###
|
|
224
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
225
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
226
|
+
|
|
227
|
+
# User-specific stuff
|
|
228
|
+
|
|
229
|
+
# AWS User-specific
|
|
230
|
+
|
|
231
|
+
# Generated files
|
|
232
|
+
|
|
233
|
+
# Sensitive or high-churn files
|
|
234
|
+
|
|
235
|
+
# Gradle
|
|
236
|
+
|
|
237
|
+
# Gradle and Maven with auto-import
|
|
238
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
239
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
240
|
+
# auto-import.
|
|
241
|
+
# .idea/artifacts
|
|
242
|
+
# .idea/compiler.xml
|
|
243
|
+
# .idea/jarRepositories.xml
|
|
244
|
+
# .idea/modules.xml
|
|
245
|
+
# .idea/*.iml
|
|
246
|
+
# .idea/modules
|
|
247
|
+
# *.iml
|
|
248
|
+
# *.ipr
|
|
249
|
+
|
|
250
|
+
# CMake
|
|
251
|
+
|
|
252
|
+
# Mongo Explorer plugin
|
|
253
|
+
|
|
254
|
+
# File-based project format
|
|
255
|
+
|
|
256
|
+
# IntelliJ
|
|
257
|
+
|
|
258
|
+
# mpeltonen/sbt-idea plugin
|
|
259
|
+
|
|
260
|
+
# JIRA plugin
|
|
261
|
+
|
|
262
|
+
# Cursive Clojure plugin
|
|
263
|
+
|
|
264
|
+
# SonarLint plugin
|
|
265
|
+
|
|
266
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
267
|
+
|
|
268
|
+
# Editor-based Rest Client
|
|
269
|
+
|
|
270
|
+
# Android studio 3.1+ serialized cache file
|
|
271
|
+
|
|
272
|
+
### PyCharm+iml Patch ###
|
|
273
|
+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
|
|
274
|
+
|
|
275
|
+
*.iml
|
|
276
|
+
modules.xml
|
|
277
|
+
.idea/misc.xml
|
|
278
|
+
*.ipr
|
|
279
|
+
|
|
280
|
+
### Python ###
|
|
281
|
+
# Byte-compiled / optimized / DLL files
|
|
282
|
+
__pycache__/
|
|
283
|
+
*.py[cod]
|
|
284
|
+
*$py.class
|
|
285
|
+
|
|
286
|
+
# C extensions
|
|
287
|
+
*.so
|
|
288
|
+
|
|
289
|
+
# Distribution / packaging
|
|
290
|
+
.Python
|
|
291
|
+
build/
|
|
292
|
+
develop-eggs/
|
|
293
|
+
dist/
|
|
294
|
+
downloads/
|
|
295
|
+
eggs/
|
|
296
|
+
.eggs/
|
|
297
|
+
lib/
|
|
298
|
+
lib64/
|
|
299
|
+
parts/
|
|
300
|
+
sdist/
|
|
301
|
+
var/
|
|
302
|
+
wheels/
|
|
303
|
+
share/python-wheels/
|
|
304
|
+
*.egg-info/
|
|
305
|
+
.installed.cfg
|
|
306
|
+
*.egg
|
|
307
|
+
MANIFEST
|
|
308
|
+
|
|
309
|
+
# PyInstaller
|
|
310
|
+
# Usually these files are written by a python script from a template
|
|
311
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
312
|
+
*.manifest
|
|
313
|
+
*.spec
|
|
314
|
+
|
|
315
|
+
# Installer logs
|
|
316
|
+
pip-log.txt
|
|
317
|
+
pip-delete-this-directory.txt
|
|
318
|
+
|
|
319
|
+
# Unit test / coverage reports
|
|
320
|
+
htmlcov/
|
|
321
|
+
.tox/
|
|
322
|
+
.nox/
|
|
323
|
+
.coverage
|
|
324
|
+
.coverage.*
|
|
325
|
+
.cache
|
|
326
|
+
nosetests.xml
|
|
327
|
+
coverage.xml
|
|
328
|
+
*.cover
|
|
329
|
+
*.py,cover
|
|
330
|
+
.hypothesis/
|
|
331
|
+
.pytest_cache/
|
|
332
|
+
cover/
|
|
333
|
+
|
|
334
|
+
# Translations
|
|
335
|
+
*.mo
|
|
336
|
+
*.pot
|
|
337
|
+
|
|
338
|
+
# Django stuff:
|
|
339
|
+
*.log
|
|
340
|
+
local_settings.py
|
|
341
|
+
db.sqlite3
|
|
342
|
+
db.sqlite3-journal
|
|
343
|
+
|
|
344
|
+
# Flask stuff:
|
|
345
|
+
instance/
|
|
346
|
+
.webassets-cache
|
|
347
|
+
|
|
348
|
+
# Scrapy stuff:
|
|
349
|
+
.scrapy
|
|
350
|
+
|
|
351
|
+
# Sphinx documentation
|
|
352
|
+
docs/_build/
|
|
353
|
+
|
|
354
|
+
# PyBuilder
|
|
355
|
+
.pybuilder/
|
|
356
|
+
target/
|
|
357
|
+
|
|
358
|
+
# Jupyter Notebook
|
|
359
|
+
.ipynb_checkpoints
|
|
360
|
+
|
|
361
|
+
# IPython
|
|
362
|
+
profile_default/
|
|
363
|
+
ipython_config.py
|
|
364
|
+
|
|
365
|
+
# pyenv
|
|
366
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
367
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
368
|
+
# .python-version
|
|
369
|
+
|
|
370
|
+
# pipenv
|
|
371
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
372
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
373
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
374
|
+
# install all needed dependencies.
|
|
375
|
+
#Pipfile.lock
|
|
376
|
+
|
|
377
|
+
# poetry
|
|
378
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
379
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
380
|
+
# commonly ignored for libraries.
|
|
381
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
382
|
+
#poetry.lock
|
|
383
|
+
|
|
384
|
+
# pdm
|
|
385
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
386
|
+
#pdm.lock
|
|
387
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
388
|
+
# in version control.
|
|
389
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
390
|
+
.pdm.toml
|
|
391
|
+
|
|
392
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
393
|
+
__pypackages__/
|
|
394
|
+
|
|
395
|
+
# Celery stuff
|
|
396
|
+
celerybeat-schedule
|
|
397
|
+
celerybeat.pid
|
|
398
|
+
|
|
399
|
+
# SageMath parsed files
|
|
400
|
+
*.sage.py
|
|
401
|
+
|
|
402
|
+
# Environments
|
|
403
|
+
.env
|
|
404
|
+
.venv
|
|
405
|
+
env/
|
|
406
|
+
venv/
|
|
407
|
+
ENV/
|
|
408
|
+
env.bak/
|
|
409
|
+
venv.bak/
|
|
410
|
+
|
|
411
|
+
# Spyder project settings
|
|
412
|
+
.spyderproject
|
|
413
|
+
.spyproject
|
|
414
|
+
|
|
415
|
+
# Rope project settings
|
|
416
|
+
.ropeproject
|
|
417
|
+
|
|
418
|
+
# mkdocs documentation
|
|
419
|
+
/site
|
|
420
|
+
|
|
421
|
+
# mypy
|
|
422
|
+
.mypy_cache/
|
|
423
|
+
.dmypy.json
|
|
424
|
+
dmypy.json
|
|
425
|
+
|
|
426
|
+
# Pyre type checker
|
|
427
|
+
.pyre/
|
|
428
|
+
|
|
429
|
+
# pytype static type analyzer
|
|
430
|
+
.pytype/
|
|
431
|
+
|
|
432
|
+
# Cython debug symbols
|
|
433
|
+
cython_debug/
|
|
434
|
+
|
|
435
|
+
# PyCharm
|
|
436
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
437
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
438
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
439
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
440
|
+
#.idea/
|
|
441
|
+
|
|
442
|
+
### Python Patch ###
|
|
443
|
+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
|
|
444
|
+
poetry.toml
|
|
445
|
+
|
|
446
|
+
# ruff
|
|
447
|
+
.ruff_cache/
|
|
448
|
+
|
|
449
|
+
# LSP config files
|
|
450
|
+
pyrightconfig.json
|
|
451
|
+
|
|
452
|
+
### VisualStudioCode ###
|
|
453
|
+
.vscode/*
|
|
454
|
+
!.vscode/settings.json
|
|
455
|
+
!.vscode/tasks.json
|
|
456
|
+
!.vscode/launch.json
|
|
457
|
+
!.vscode/extensions.json
|
|
458
|
+
!.vscode/*.code-snippets
|
|
459
|
+
|
|
460
|
+
# Local History for Visual Studio Code
|
|
461
|
+
.history/
|
|
462
|
+
|
|
463
|
+
# Built Visual Studio Code Extensions
|
|
464
|
+
*.vsix
|
|
465
|
+
|
|
466
|
+
### VisualStudioCode Patch ###
|
|
467
|
+
# Ignore all local history of files
|
|
468
|
+
.history
|
|
469
|
+
.ionide
|
|
470
|
+
|
|
471
|
+
### Windows ###
|
|
472
|
+
# Windows thumbnail cache files
|
|
473
|
+
Thumbs.db
|
|
474
|
+
Thumbs.db:encryptable
|
|
475
|
+
ehthumbs.db
|
|
476
|
+
ehthumbs_vista.db
|
|
477
|
+
|
|
478
|
+
# Dump file
|
|
479
|
+
*.stackdump
|
|
480
|
+
|
|
481
|
+
# Folder config file
|
|
482
|
+
[Dd]esktop.ini
|
|
483
|
+
|
|
484
|
+
# Recycle Bin used on file shares
|
|
485
|
+
$RECYCLE.BIN/
|
|
486
|
+
|
|
487
|
+
# Windows Installer files
|
|
488
|
+
*.cab
|
|
489
|
+
*.msi
|
|
490
|
+
*.msix
|
|
491
|
+
*.msm
|
|
492
|
+
*.msp
|
|
493
|
+
|
|
494
|
+
# Windows shortcuts
|
|
495
|
+
*.lnk
|
|
496
|
+
|
|
497
|
+
# End of https://www.toptal.com/developers/gitignore/api/windows,python,pycharm+iml,pycharm+all,pycharm,macos,linux,visualstudiocode
|
|
498
|
+
|
|
499
|
+
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# WIP
|
|
2
|
+
|
|
3
|
+
* remove DataModel loading/caching from vedana-core, rely on vedana-etl for updates
|
|
4
|
+
* change DataModel attributes structure - split anchor/edge attributes
|
|
5
|
+
* optimize DataModel calls
|
|
6
|
+
* enable vector text search on edges / edge attributes
|
|
7
|
+
* move vector text search to PGVector, introduce VectorStore class
|
|
8
|
+
* [experimental] add data model filtering step before main pipeline
|
|
9
|
+
|
|
10
|
+
# 2025.11.25
|
|
11
|
+
|
|
12
|
+
* `RagPipeline`: Return `agent_query_events` from `process_rag_query`
|
|
13
|
+
* `LifecycleEvents`: Simplify `/start` command response logic
|
|
14
|
+
|
|
15
|
+
# 2025.10.29
|
|
16
|
+
|
|
17
|
+
* Rm `temperature` parameter from all LLM-related methods
|
|
18
|
+
|
|
19
|
+
# 2025.09.05
|
|
20
|
+
|
|
21
|
+
* Add `JimsApp` and `VedanaApp` construction to `vedana_core`, now we can run
|
|
22
|
+
Vedana with standard `jims-tui` and `jims-telegram` runners
|
|
23
|
+
|
|
24
|
+
# 2025.08.29
|
|
25
|
+
|
|
26
|
+
* Make conversation history always present instead of a tool call
|
|
27
|
+
|
|
28
|
+
# 0.5.0
|
|
29
|
+
|
|
30
|
+
* (vedana) Refactor Vedana into packages
|
|
31
|
+
|
|
32
|
+
# 2025.07.19-dev.7
|
|
33
|
+
|
|
34
|
+
* (vedana) Rename memgraph-rag to vedana
|
|
35
|
+
|
|
36
|
+
# 2025.07.18-dev.5
|
|
37
|
+
|
|
38
|
+
* (jims-backoffice) Add feedback form
|
|
39
|
+
|
|
40
|
+
# 0.4.0
|
|
41
|
+
|
|
42
|
+
* Add jims-backoffice to deployment
|
|
43
|
+
* Add helm chart
|
|
44
|
+
|
|
45
|
+
# 0.3.1
|
|
46
|
+
|
|
47
|
+
* Execute LLM tool calls in parallel
|
|
48
|
+
|
|
49
|
+
# 0.3.0
|
|
50
|
+
|
|
51
|
+
* Add start conversation pipeline
|
|
52
|
+
* Remove top_n query result limit in cypher_fn
|
|
53
|
+
* Improve Grist parsing logic - filter out meta-columns
|
|
54
|
+
|
|
55
|
+
# 0.2.0
|
|
56
|
+
|
|
57
|
+
* Add Sentry and opentelemetry tracing
|
|
58
|
+
* Remove embedding cache files
|
|
59
|
+
* fix: exit tool call loop if no tool calls found
|
|
60
|
+
|
|
61
|
+
## Migration
|
|
62
|
+
|
|
63
|
+
Add env variables:
|
|
64
|
+
* `SENTRY_DSN`
|
|
65
|
+
* `SENTRY_ENVIRONMENT`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vedana-core
|
|
3
|
+
Version: 0.1.0.dev3
|
|
4
|
+
Summary: Semantic Graph RAG App
|
|
5
|
+
Author-email: Andrey Tatarinov <a@tatarinov.co>, Timur Sheydaev <tsheyd@epoch8.co>
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Requires-Dist: aiohttp>=3.11.18
|
|
8
|
+
Requires-Dist: aioitertools>=0.12.0
|
|
9
|
+
Requires-Dist: aiosqlite>=0.21.0
|
|
10
|
+
Requires-Dist: alembic>=1.13.0
|
|
11
|
+
Requires-Dist: async-lru>=2.0.5
|
|
12
|
+
Requires-Dist: asyncpg>=0.29.0
|
|
13
|
+
Requires-Dist: grist-api>=0.1.1
|
|
14
|
+
Requires-Dist: jims-backoffice
|
|
15
|
+
Requires-Dist: jims-core
|
|
16
|
+
Requires-Dist: jims-telegram
|
|
17
|
+
Requires-Dist: jims-tui
|
|
18
|
+
Requires-Dist: litellm>=1.79.0
|
|
19
|
+
Requires-Dist: neo4j>=5.28.1
|
|
20
|
+
Requires-Dist: openai>=2.8.0
|
|
21
|
+
Requires-Dist: pandas>=2.2.3
|
|
22
|
+
Requires-Dist: psycopg2-binary>=2.9.10
|
|
23
|
+
Requires-Dist: pydantic-settings>=2.9.1
|
|
24
|
+
Requires-Dist: sentry-sdk[fastapi,opentelemetry]>=2.32.0
|
|
25
|
+
Requires-Dist: sqlalchemy>=2.0.41
|
|
26
|
+
Requires-Dist: vedana-etl
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# Vedana
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Vedana
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "vedana-core"
|
|
3
|
+
dynamic = ["version"]
|
|
4
|
+
description = "Semantic Graph RAG App"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "Andrey Tatarinov", email = "a@tatarinov.co" },
|
|
8
|
+
{ name = "Timur Sheydaev", email = "tsheyd@epoch8.co" },
|
|
9
|
+
]
|
|
10
|
+
requires-python = ">=3.12"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"grist-api>=0.1.1",
|
|
13
|
+
"neo4j>=5.28.1",
|
|
14
|
+
"openai>=2.8.0",
|
|
15
|
+
"pandas>=2.2.3",
|
|
16
|
+
"psycopg2-binary>=2.9.10",
|
|
17
|
+
"pydantic-settings>=2.9.1",
|
|
18
|
+
"sqlalchemy>=2.0.41",
|
|
19
|
+
"jims-core",
|
|
20
|
+
"jims-tui",
|
|
21
|
+
"jims-telegram",
|
|
22
|
+
"jims-backoffice",
|
|
23
|
+
"vedana-etl",
|
|
24
|
+
"alembic>=1.13.0",
|
|
25
|
+
"asyncpg>=0.29.0",
|
|
26
|
+
"aiosqlite>=0.21.0",
|
|
27
|
+
"aiohttp>=3.11.18",
|
|
28
|
+
"sentry-sdk[fastapi,opentelemetry]>=2.32.0",
|
|
29
|
+
"litellm>=1.79.0",
|
|
30
|
+
"aioitertools>=0.12.0",
|
|
31
|
+
"async-lru>=2.0.5",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
[build-system]
|
|
35
|
+
requires = ["hatchling", "uv-dynamic-versioning"]
|
|
36
|
+
build-backend = "hatchling.build"
|
|
37
|
+
|
|
38
|
+
[tool.hatch.version]
|
|
39
|
+
source = "uv-dynamic-versioning"
|
|
40
|
+
|
|
41
|
+
[tool.uv-dynamic-versioning]
|
|
42
|
+
enable = true
|
|
43
|
+
vcs = "git"
|
|
44
|
+
pattern = "default"
|
|
45
|
+
|
|
46
|
+
[tool.mypy]
|
|
47
|
+
plugins = ['pydantic.mypy']
|
|
48
|
+
|
|
49
|
+
[dependency-groups]
|
|
50
|
+
dev = [
|
|
51
|
+
"ruff>=0.14.10",
|
|
52
|
+
"dotenv>=0.9.9",
|
|
53
|
+
"ipykernel>=6.29.5",
|
|
54
|
+
"mypy>=1.19.0",
|
|
55
|
+
"python-dotenv>=1.1.0",
|
|
56
|
+
"pytest>=8.4.0",
|
|
57
|
+
"types-requests>=2.32.4.20250611",
|
|
58
|
+
"pandas-stubs>=2.3.0.250703",
|
|
59
|
+
"pytest-asyncio>=1.1.0",
|
|
60
|
+
"litellm[caching]>=1.76.2",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
[tool.ruff]
|
|
64
|
+
line-length = 120
|
|
65
|
+
|
|
66
|
+
[tool.uv-workspace-codegen]
|
|
67
|
+
generate = true
|
|
68
|
+
template_type = ["lib", "publish"]
|
|
69
|
+
generate_standard_pytest_step = false
|
|
70
|
+
typechecker = "mypy"
|
|
71
|
+
custom_steps = """
|
|
72
|
+
- name: Run tests
|
|
73
|
+
env:
|
|
74
|
+
DB_CONN_URI: "sqlite:///:memory:"
|
|
75
|
+
GRIST_SERVER_URL: "http://0.0.0.0:8484"
|
|
76
|
+
GRIST_API_KEY: "e30d2f274a538c05fecd14510887f8a3b7eab718"
|
|
77
|
+
GRIST_DATA_MODEL_DOC_ID: "wEEmPY3UiwMD"
|
|
78
|
+
GRIST_DATA_DOC_ID: "qAxQ1gcBKcW7"
|
|
79
|
+
MEMGRAPH_URI: "bolt://localhost:7687"
|
|
80
|
+
MEMGRAPH_USER: ""
|
|
81
|
+
MEMGRAPH_PWD: ""
|
|
82
|
+
EMBEDDINGS_DIM: "1024"
|
|
83
|
+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
84
|
+
run: |
|
|
85
|
+
uv run pytest libs/vedana-core/
|
|
86
|
+
"""
|
|
File without changes
|