gpt4 book ai didi

How to upload custom CSV to ChromaDB Docker image(如何将自定义CSV上传到ChromaDB Docker镜像)

转载 作者:bug小助手 更新时间:2023-10-25 23:44:59 27 4
gpt4 key购买 nike



I'm learning to use ChromaDB. So far I have been able to run some samples from the Chroma guide.
But now, I want to bring in my own CSV file and run the embeddings.
I don't see to connect the dots on how to upload my custom CSV to the ChromaDB image

我正在学习使用ChromaDB。到目前为止,我已经能够运行Chroma指南中的一些样本。但现在,我想引入我自己的CSV文件并运行嵌入。我不知道如何将我的自定义CSV上传到ChromaDB图像上


Here is my docker-compose file

这是我的Docker-Compose文件


version: "3.8"
services:
application:
build:
context: .
dockerfile: ./Dockerfile
image: application
container_name: application
volumes:
- ./:/app/
networks:
- net

chroma:
image: ghcr.io/chroma-core/chroma:latest
volumes:
- index_data:/chroma/.chroma/index
ports:
- 8000:8000
networks:
- net

volumes:
index_data:
driver: local
backups:
driver: local

networks:
net:
driver: bridge

Can someone guide me on uploading CSV file and running an embedding on it?
My CSV file has ~10K rows and 20 columns in it. (about 90MB)

有人能指导我上传CSV文件并在其上运行嵌入吗?我的CSV文件有大约10K行和20列。(约90MB)


更多回答

What have you done so far? What code have you written, and what problem are you running into? I might start with writing a program on the host connecting to the published port 8000, running the database in a container but the program locally, which will make it easier to test and debug.

到目前为止,你做了什么?你写了什么代码,遇到了什么问题?我可以从在连接到发布的端口8000的主机上编写程序开始,在容器中运行数据库,但在本地运行程序,这将使测试和调试变得更容易。

优秀答案推荐
更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com