Comments (2)
@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.
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)
- [Bug] CORS preflight headers - OPTIONS method not allowed
- [Feature] Support "GET" operations for the knowledge base HOT 2
- [Feature] Obtain F score directly from the chat engine HOT 1
- [Bug] Pydantic V2 is not compatible HOT 1
- [Bug] No debug context available when setting CE_DEBUG_INFO=true HOT 6
- [BUG] Sudden deterioration in chat bot answers after installing Canopy 0.7.0 HOT 11
- [Bug] Upsert in Starter is Failing due to deletion HOT 4
- Please update tiktoken > 0.4 for canopy-sdk
- [Feature] Return context while calling the chat/completions
- [Bug] Initializing KnowledgeBase with AzureOpenAIEncoder encoder gives error: Exception: TypeError: record_encoder must be an instance of RecordEncoder, not <class 'pinecone_text.dense.openai_encoder.AzureOpenAIEncoder'> HOT 1
- [Bug] Context window is too large HOT 4
- [Bug] Knowbase seem to be disconnected, LLM is responding I don't know
- [Bug] Fail to start canopy server: Vector dimension 1536 does not match the dimension of the index 3072 HOT 2
- [Feature] Anthropic support HOT 1
- [Bug] Can't install Canopy SDK HOT 1
- [Notice!] gcp deployment document
- Package Conflict
- [Bug] Failed to create index HOT 2
- Persistent error message "Bad request: Your free plan does not support indexes in the us-west-2 region of aws" while trying to use "canopy new" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canopy.