跳转至

开发记录(七)结合 OpenAI 的论文批量分析

安装 OpenAI 相关包以及向量数据库连接包

pip install openai tiktoken langchain pypdf unstructured pgvector psycopg2-binary
create extension vector;

运行时出现了下面的警告:

RequestsDependencyWarning: urllib3 (1.26.15) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
  warnings.warn(

参考:https://github.com/DefectDojo/django-DefectDojo/issues/3270

pip install -U urllib3 requests

最后更新: 2024-04-11
创建日期: 2023-08-16
作者: gis-xh