bracesproul/gen-ui-python

How to use Cohere command R+ model or Together AI's models?

Closed this issue · 1 comments

model = ChatOpenAI(model="gpt-4o", temperature=0, streaming=True) this is the default one. How to make use other models like Cohere or Together AI's models?

@svk-cu-nlp you'll have to switch that class implementation with the class you'd rather use.
e.g

model = ChatCohere(...)