Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
[test] test_app - bug fixes after merging dev
Browse files Browse the repository at this point in the history
  • Loading branch information
igiloh-pinecone committed Oct 1, 2023
1 parent 09508e0 commit 53425c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/e2e/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from tenacity import retry, stop_after_attempt, wait_fixed

from resin.knoweldge_base import KnowledgeBase
from resin.knoweldge_base.tokenizer import OpenAITokenizer, Tokenizer
from resin.tokenizer import OpenAITokenizer, Tokenizer

from resin_cli.app import app, _init_engines, _init_logging
from resin_cli.api_models import HealthStatus, ContextUpsertRequest, ContextQueryRequest
Expand All @@ -21,8 +21,6 @@ def test_e2e():
Tokenizer.initialize(OpenAITokenizer, "gpt-3.5-turbo")
kb = KnowledgeBase.create_with_new_index(
index_name=os.environ["INDEX_NAME"],
encoder=KnowledgeBase.DEFAULT_RECORD_ENCODER(),
chunker=KnowledgeBase.DEFAULT_CHUNKER(),
)
Tokenizer.clear()
_init_engines()
Expand Down

0 comments on commit 53425c3

Please sign in to comment.