Giter VIP home page Giter VIP logo

Comments (2)

izellevy avatar izellevy commented on August 26, 2024

@sfdrada thanks for the issue. I think it should be clearer in the docs but you should pass the index name without the canopy-- prefix. Both INDEX_NAME env variable and passing to canopy start as an argument should work as expected.
Please let me know if it solves your issue.

from canopy.

sfdrada avatar sfdrada commented on August 26, 2024

in my .env file i set the INDEX_NAME = "test-name" which is the same name as my index

Maybe passing in a name string or value makes it not work for directly referencing what index you want to use but referring to the index variable will work if you assign it to your index name.

canopy start --index-name test-name
🚨 Note 🚨
For debugging only. To run the Canopy server in production, please use Docker with a Gunicorn server.
Error: Index name provided via --index-name 'test-name' does not match the index name provided via the INDEX_NAME environment variable 'first-pinecone'

canopy start --index-name "test-name"
🚨 Note 🚨
For debugging only. To run the Canopy server in production, please use Docker with a Gunicorn server.
Error: Index name provided via --index-name 'test-name' does not match the index name provided via the INDEX_NAME environment variable 'first-pinecone'

canopy start --index-name %INDEX_NAME%
🚨 Note 🚨
For debugging only. To run the Canopy server in production, please use Docker with a Gunicorn server.
Starting Canopy server on 0.0.0.0:8000
INFO: Started server process [19604]
INFO: Waiting for application startup.
2024-02-26 14:01:01,078 - MainProcess - canopy_server.app [INFO ]: Did not find config file. Initializing engines with default configuration
2024-02-26 14:01:07,636 - MainProcess - httpx [INFO ]: HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

from canopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.