Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LlamaIndexTS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
run-llama
LlamaIndexTS
Commits
10248fb2
Commit
10248fb2
authored
1 year ago
by
Marcus Schiesser
Browse files
Options
Downloads
Patches
Plain Diff
chore: move clip example
parent
446dc85b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
apps/clip/.gitignore
+0
-1
0 additions, 1 deletion
apps/clip/.gitignore
apps/clip/README.md
+0
-19
0 additions, 19 deletions
apps/clip/README.md
apps/clip/package.json
+0
-17
0 additions, 17 deletions
apps/clip/package.json
examples/clip.ts
+0
-1
0 additions, 1 deletion
examples/clip.ts
with
0 additions
and
38 deletions
apps/clip/.gitignore
deleted
100644 → 0
+
0
−
1
View file @
446dc85b
test/data/**
This diff is collapsed.
Click to expand it.
apps/clip/README.md
deleted
100644 → 0
+
0
−
19
View file @
446dc85b
# CLIP Embedding Example
Uses the Clip model to embed images and text.
## Get started
Make sure, you have installed the local dev version of
`llamaindex`
, see
[
README.md
](
../../packages/core/README.md
)
.
Then, install dependencies:
```
pnpm install
```
Then call
```
node 1.js
```
This diff is collapsed.
Click to expand it.
apps/clip/package.json
deleted
100644 → 0
+
0
−
17
View file @
446dc85b
{
"version"
:
"0.0.1"
,
"private"
:
true
,
"name"
:
"clip-test"
,
"dependencies"
:
{
"dotenv"
:
"^16.3.1"
,
"llamaindex"
:
"workspace:*"
},
"devDependencies"
:
{
"@types/node"
:
"^18"
,
"ts-node"
:
"^10.9.1"
},
"scripts"
:
{
"lint"
:
"eslint ."
,
"start"
:
"ts-node ./clip_test.ts"
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
apps/clip/clip_test
.ts
→
examples/clip
.ts
+
0
−
1
View file @
10248fb2
/* eslint-disable turbo/no-undeclared-env-vars */
import
{
ClipEmbedding
,
SimilarityType
,
similarity
}
from
"
llamaindex
"
;
async
function
main
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment