소스 검색

Bump tiktoken to 0.6.0 to support text-embedding-3-* in encoding_for_model (#2891)

Bowen Liang 1 년 전
부모
커밋
7c0ae76cd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/requirements.txt

+ 1 - 1
api/requirements.txt

@@ -12,7 +12,7 @@ gunicorn~=21.2.0
 gevent~=23.9.1
 langchain==0.0.250
 openai~=1.13.3
-tiktoken~=0.5.2
+tiktoken~=0.6.0
 psycopg2-binary~=2.9.6
 pycryptodome==3.19.1
 python-dotenv==1.0.0