-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update import to workspace pages for examples and docs #1626
chore: update import to workspace pages for examples and docs #1626
Conversation
thucpn
commented
Feb 6, 2025
•
edited
Loading
edited
- remove all @llamaindex/core import
- use import from workspace packages such as @llamindex/openai, @llamaindex/mongodb,...
- update import mdx document
🦋 Changeset detectedLatest commit: b14a1b3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@llamaindex/autotool
@llamaindex/cloud
@llamaindex/core
@llamaindex/community
@llamaindex/env
@llamaindex/experimental
llamaindex
@llamaindex/node-parser
@llamaindex/readers
@llamaindex/wasm-tools
@llamaindex/workflow
@llamaindex/anthropic
@llamaindex/clip
@llamaindex/cohere
@llamaindex/deepinfra
@llamaindex/google
@llamaindex/groq
@llamaindex/huggingface
@llamaindex/mistral
@llamaindex/mixedbread
@llamaindex/ollama
@llamaindex/openai
@llamaindex/portkey-ai
@llamaindex/replicate
@llamaindex/vercel
@llamaindex/vllm
commit: |
apps/next/src/content/docs/llamaindex/modules/data_loaders/llama_parse/images.mdx
Outdated
Show resolved
Hide resolved
apps/next/src/content/docs/llamaindex/modules/embeddings/available_embeddings/mistral.mdx
Show resolved
Hide resolved
apps/next/src/content/docs/llamaindex/modules/node_postprocessors/mixedbreadai_reranker.mdx
Outdated
Show resolved
Hide resolved
@@ -116,7 +116,7 @@ const jokeFlow = new Workflow({ verbose: true, validate: true }); | |||
Optionally, you can choose to use global context between steps. For example, maybe multiple steps access the original `query` input from the user. You can store this in global context so that every step has access. | |||
|
|||
```typescript | |||
import { Context } from "@llamaindex/core/workflow"; | |||
import { Context } from "llamaindex"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we can use the workflow package?
import { Context } from "llamaindex"; | |
import { Context } from "@llamaindex/workflow"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look like '"@llamaindex/workflow"' doesn't export 'Context',
As I check it only has import { WorkflowContext } from "@llamaindex/workflow";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah now i see the problem, this is an outdated document using the old workflow format - update it to use the new workflows like in https://ts.llamaindex.ai/docs/llamaindex/guide/workflow