Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PineconeHandler market_specific #526

Open
gabrielfior opened this issue Oct 21, 2024 · 0 comments
Open

Make PineconeHandler market_specific #526

gabrielfior opened this issue Oct 21, 2024 · 0 comments

Comments

@gabrielfior
Copy link
Contributor

Right now we only store OmenMarkets on PineconeHandler, using index

INDEX_NAME = "omen-index-text-embeddings-3-large"

This is not optimal to agents that receive market_type as parameter, leading to constructs like issue, which we don't want.

To be implemented on PineconeHandler:
-> add method get_market_by_id to AgentMarket
-> create a dict or Enum for retrieving index_name for market_type (on PineconeHandler)
-> add check to method to make sure index exists, else throw error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant