Skip to main content

All popular Framework HF integration kit

Project description

Credo UI

A Streamlit-based UI for conversational AI with integrated search capabilities.

Features

  • Chat interface with streaming responses
  • Multiple search modes:
    • Regular search
    • Deep search
    • Deep research
  • Sidebar for additional information and settings
  • Session management for chat history
  • Built on top of Streamlit and streamlit-shadcn-ui

Installation

pip install credo-ui

Usage

Run the application:

credo_ui

Screenshots

Search Results Chat interface with search capabilities

Chat Interface

Components

  • Chat Interface: A clean, responsive UI for interacting with LLMs
  • Search Integration: Connect to various search backends through the LLMSearch class
  • Customizable Sidebar: Add additional controls and information
  • Expandable "Thinking" Section: Shows intermediate processing steps

Project Structure

credo_ui/
├── ui.py             # Main UI components
├── sidebar.py        # Sidebar implementation
├── utils.py          # Helper functions
resources/
├── ui_image1.png     # UI screenshot for chat interface
├── ui_image2.png     # UI screenshot for search results

Example

import streamlit as st
from credo_ui.utils import setup_chat_session
from credo_ui.ui import render_titles
from credo_ui.sidebar import Sidebar

# Initialize
sidebar = Sidebar(st)
chat_manager = setup_chat_session(st)

# Render UI components
render_titles(st)
sidebar.render_sidebar_info()

# ... rest of your application

Configuration

Switch between different search modes using the toggle buttons:

  • DeepSearch: Enhanced search capabilities
  • Search: Basic search functionality
  • DeepResearch: In-depth research capabilities with thinking steps

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

credo_ui-0.0.21.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

credo_ui-0.0.21-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file credo_ui-0.0.21.tar.gz.

File metadata

  • Download URL: credo_ui-0.0.21.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-52-generic

File hashes

Hashes for credo_ui-0.0.21.tar.gz
Algorithm Hash digest
SHA256 7514c068d25d49e9fc5a2ee2e3b348b323938825db2992c0fa6d82586a7532c5
MD5 5214d787649afecd41b81df246d4c425
BLAKE2b-256 cf2a5e98b28a265fd15ce0aa2edb8f6f04c21fb0ed4f1585841834199f454400

See more details on using hashes here.

File details

Details for the file credo_ui-0.0.21-py3-none-any.whl.

File metadata

  • Download URL: credo_ui-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-52-generic

File hashes

Hashes for credo_ui-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 026d8b36c56e354f1e0c55e3ac5bbf391a49fc3a5dfd08d41624a705e980a8a2
MD5 c4c35498a7e99b9b2bb015378959be63
BLAKE2b-256 5cd64a229aa0ff04c2551719d95bb09adc7c64e1c721a0015a0ae01d8cc51f3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page