Skip to content
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

fix: Remove unused packages #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion 01-simple-rag/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from llama_index.core import Document, StorageContext, VectorStoreIndex, load_index_from_storage
from llama_index.core.node_parser import SentenceSplitter

import os
import numpy as np
from pathlib import Path
from typing import Annotated
Expand Down
1 change: 0 additions & 1 deletion 02-custom-embedding/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from llama_index.core import Document, StorageContext, VectorStoreIndex, load_index_from_storage
from llama_index.core.node_parser import SentenceSplitter

import os
from pathlib import Path
from typing import Annotated
import openai
Expand Down
1 change: 0 additions & 1 deletion 03-custom-llm/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from llama_index.core.node_parser import SentenceSplitter
from llama_index.llms.openai_like import OpenAILike

import os
from pathlib import Path
from typing import Annotated
import openai
Expand Down
3 changes: 0 additions & 3 deletions 04a-vector-store-milvus/service.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
from __future__ import annotations

import os
import bentoml

from llama_index.core import Document, StorageContext, VectorStoreIndex, load_index_from_storage
from llama_index.vector_stores.milvus import MilvusVectorStore
from llama_index.core.node_parser import SentenceSplitter
from llama_index.llms.openai_like import OpenAILike

import os
from pathlib import Path
from typing import Annotated
import openai

from embedding import SentenceTransformers, BentoMLEmbeddings
from llm import VLLM, LLM_MODEL_ID, LLM_MAX_TOKENS
Expand Down